lvcreate – Aborting. Failed to wipe start of new LV

root@linux:~ # lvcreate -L 400g -n lv_test vg_test
Volume “vg_test/lv_test” is not active locally.
Aborting. Failed to wipe start of new LV.

Add vg_test to volume_list parameter in /etc/lvm/lvm.conf

vi /etc/lvm/lvm.conf
volume_list = [ “vgo2o”, “vgroot”, “vg_test” ]

Then try again

root@linux:~ # lvcreate -L 400g -n lv_test vg_test
Logical volume “lv_test” created.

Advertisement