Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / rados / deployment / ceph-deploy-purge.rst
1 ==============
2  Purge a Host
3 ==============
4
5 When you remove Ceph daemons and uninstall Ceph, there may still be  extraneous
6 data from the cluster on your server. The ``purge`` and  ``purgedata`` commands
7 provide a convenient means of cleaning up a  host. 
8
9
10 Purge Data
11 ==========
12
13 To remove all data from ``/var/lib/ceph`` (but leave Ceph packages intact),
14 execute the ``purgedata`` command.
15
16         ceph-deploy purgedata {hostname} [{hostname} ...]
17         
18
19 Purge
20 =====
21
22 To remove all data from ``/var/lib/ceph`` and uninstall Ceph packages, execute
23 the ``purge`` command.
24
25         ceph-deploy purge {hostname} [{hostname} ...]