mirror of
https://github.com/ceph/ceph
synced 2024-12-24 20:33:27 +00:00
25 lines
610 B
ReStructuredText
25 lines
610 B
ReStructuredText
|
==============
|
||
|
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} ...]
|