]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
docs for ceph-volume lvm zap
authorAndrew Schoen <aschoen@redhat.com>
Tue, 24 Oct 2017 15:13:40 +0000 (10:13 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 27 Oct 2017 16:15:45 +0000 (11:15 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
doc/ceph-volume/index.rst
doc/ceph-volume/lvm/zap.rst [new file with mode: 0644]

index 155acb649abc4eab55eff1a3c239a744f8c0221b..b75ccd41b2e6a41483e406d107df57c5fa32f65c 100644 (file)
@@ -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 (file)
index 0000000..8d42a90
--- /dev/null
@@ -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