From 3e93a31deda96ed6fb23fa19ce3e273de05f7d88 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 24 Oct 2017 10:13:40 -0500 Subject: [PATCH] docs for ceph-volume lvm zap Signed-off-by: Andrew Schoen --- doc/ceph-volume/index.rst | 1 + doc/ceph-volume/lvm/zap.rst | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 doc/ceph-volume/lvm/zap.rst diff --git a/doc/ceph-volume/index.rst b/doc/ceph-volume/index.rst index 155acb649abc4..b75ccd41b2e6a 100644 --- a/doc/ceph-volume/index.rst +++ b/doc/ceph-volume/index.rst @@ -30,3 +30,4 @@ technologies, including plain disks. lvm/scan lvm/systemd lvm/list + lvm/zap diff --git a/doc/ceph-volume/lvm/zap.rst b/doc/ceph-volume/lvm/zap.rst new file mode 100644 index 0000000000000..8d42a9089d894 --- /dev/null +++ b/doc/ceph-volume/lvm/zap.rst @@ -0,0 +1,19 @@ +.. _ceph-volume-lvm-zap: + +``zap`` +======= + +This subcommand is used to zap lvs or partitions that have been used +by ceph OSDs so that they may be reused. 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. + +.. note:: The lv or partition will be kept intact. + +Zapping a logical volume:: + + ceph-volume lvm zap {vg name/lv name} + +Zapping a partition:: + + ceph-volume lvm zap /dev/sdc1 -- 2.39.5