]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/man/ceph-volume add zapping by osd-id examples
authorAlfredo Deza <adeza@redhat.com>
Thu, 6 Dec 2018 20:30:38 +0000 (15:30 -0500)
committerAlfredo Deza <adeza@redhat.com>
Thu, 17 Jan 2019 21:19:56 +0000 (16:19 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit acbf7c9b2ad2810621d7ed3987e814cd8c2a2f65)

doc/man/8/ceph-volume.rst

index af5775997fcb138e94777192fba074f8f91e3b9f..9ad5a5237af2dc92c17dfd2e5d7502104d2db672 100644 (file)
@@ -226,6 +226,17 @@ Usage, for logical partitions::
 
       ceph-volume lvm zap /dev/sdc1
 
+For full removal of the device use the ``--destroy`` flag (allowed for all
+device types)::
+
+      ceph-volume lvm zap --destroy /dev/sdc1
+
+Multiple devices can be removed by specifying the OSD ID and/or the OSD FSID::
+
+      ceph-volume lvm zap --destroy --osd-id 1
+      ceph-volume lvm zap --destroy --osd-id 1 --osd-fsid C9605912-8395-4D76-AFC0-7DFDAC315D59
+
+
 Positional arguments:
 
 * <DEVICE>  Either in the form of ``vg/lv`` for logical volumes,