From: Alfredo Deza Date: Thu, 6 Dec 2018 20:30:38 +0000 (-0500) Subject: doc/man/ceph-volume add zapping by osd-id examples X-Git-Tag: v12.2.11~10^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=16447b8f4a847f543d619da411201b237fcef29c;p=ceph.git doc/man/ceph-volume add zapping by osd-id examples Signed-off-by: Alfredo Deza (cherry picked from commit acbf7c9b2ad2810621d7ed3987e814cd8c2a2f65) --- diff --git a/doc/man/8/ceph-volume.rst b/doc/man/8/ceph-volume.rst index af5775997fc..9ad5a5237af 100644 --- a/doc/man/8/ceph-volume.rst +++ b/doc/man/8/ceph-volume.rst @@ -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: * Either in the form of ``vg/lv`` for logical volumes,