summaryrefslogtreecommitdiffstats
path: root/src/ceph/doc/ceph-volume/lvm/zap.rst
blob: 8d42a9089d8940f13ae5eb34f75604316d0383f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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