Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / ceph-volume / lvm / zap.rst
1 .. _ceph-volume-lvm-zap:
2
3 ``zap``
4 =======
5
6 This subcommand is used to zap lvs or partitions that have been used
7 by ceph OSDs so that they may be reused. If given a path to a logical
8 volume it must be in the format of vg/lv. Any filesystems present
9 on the given lv or partition will be removed and all data will be purged.
10
11 .. note:: The lv or partition will be kept intact.
12
13 Zapping a logical volume::
14
15       ceph-volume lvm zap {vg name/lv name}
16
17 Zapping a partition::
18
19       ceph-volume lvm zap /dev/sdc1