]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added purge page to ceph-deploy.
authorJohn Wilkins <john.wilkins@inktank.com>
Tue, 30 Apr 2013 01:52:16 +0000 (18:52 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Tue, 30 Apr 2013 01:52:16 +0000 (18:52 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rados/deployment/ceph-deploy-purge.rst [new file with mode: 0644]

diff --git a/doc/rados/deployment/ceph-deploy-purge.rst b/doc/rados/deployment/ceph-deploy-purge.rst
new file mode 100644 (file)
index 0000000..685c3c4
--- /dev/null
@@ -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