CEPH: Ceph how to uninstall a Ceph cluster

From Define Wiki
Revision as of 21:23, 4 May 2016 by David (talk | contribs)
Jump to navigation Jump to search

So... ya f*cked it all up and want to start again - luckily, there's a command for that

# This was run on the ceph-deploy node, in the ~/ceph directory where the keys and ceph.conf were stored. 
cd ceph 
cp ceph.conf ceph.conf.bck
ceph-deploy purge ceph-osd1 ceph-osd2 ceph-osd3
ceph-deploy purgedata ceph-osd1 ceph-osd2 ceph-osd3 # this failed as device/resource busy. guess a reboot will sort but cant tests that atm. to be updated. 
ceph-deploy forgetkeys