]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/man/ceph-volume add docs for zap sub-command
authorAlfredo Deza <adeza@redhat.com>
Mon, 22 Jan 2018 17:06:25 +0000 (12:06 -0500)
committerAlfredo Deza <adeza@redhat.com>
Tue, 23 Jan 2018 18:32:13 +0000 (13:32 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
doc/man/8/ceph-volume.rst

index 2eb72cc976a9b5287f5eeeb7e18f250f252d04ea..f5d66d3792bf51284eac4f9c3a986ccd7afe0c79 100644 (file)
@@ -135,6 +135,26 @@ Positional arguments:
   ``/path/to/sda1`` for regular devices.
 
 
+**zap**
+Zaps the given logical volume or partition. If given a path to a logical
+volume it must be in the format of vg/lv. Any filesystems present
+on the given lv or partition will be removed and all data will be purged.
+
+However, the lv or partition will be kept intact.
+
+Usage, for logical volumes::
+
+      ceph-volume lvm zap {vg/lv}
+
+Usage, for logical partitions::
+
+      ceph-volume lvm zap /dev/sdc1
+
+Positional arguments:
+
+* <DEVICE>  Either in the form of ``vg/lv`` for logical volumes or
+  ``/path/to/sda1`` for regular devices.
+
 Availability
 ============