[lvm-devel] [Patch review 0/1] introduce lvm forcevg option to forcibly deactivate the whole vg
David Teigland
teigland at redhat.com
Thu Sep 14 20:53:27 UTC 2017
Hi Zhang,
I discussed this with Alasdair who had the good idea that we could do this
with just a couple of dmsetup commands, e.g.
dmsetup info -c -S "uuid=~LVM && vgname=$VG && lv_layer=\"\"" -o name --noheadings | xargs dmsetup wipe_table
If this works, I think it would be a nicer solution than going through the
blkdeactivate script.
Dave
More information about the lvm-devel
mailing list