X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fdoc%2Frados%2Fdeployment%2Fceph-deploy-purge.rst;fp=src%2Fceph%2Fdoc%2Frados%2Fdeployment%2Fceph-deploy-purge.rst;h=685c3c4a609c17e6ba0c404ebfa4352d8ac9d256;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/doc/rados/deployment/ceph-deploy-purge.rst b/src/ceph/doc/rados/deployment/ceph-deploy-purge.rst new file mode 100644 index 0000000..685c3c4 --- /dev/null +++ b/src/ceph/doc/rados/deployment/ceph-deploy-purge.rst @@ -0,0 +1,25 @@ +============== + Purge a Host +============== + +When you remove Ceph daemons and uninstall Ceph, there may still be extraneous +data from the cluster on your server. The ``purge`` and ``purgedata`` commands +provide a convenient means of cleaning up a host. + + +Purge Data +========== + +To remove all data from ``/var/lib/ceph`` (but leave Ceph packages intact), +execute the ``purgedata`` command. + + ceph-deploy purgedata {hostname} [{hostname} ...] + + +Purge +===== + +To remove all data from ``/var/lib/ceph`` and uninstall Ceph packages, execute +the ``purge`` command. + + ceph-deploy purge {hostname} [{hostname} ...] \ No newline at end of file