Skip to content

introduce lvm forcevg option to forcibly deactivate the whole vg

David Teigland lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Patch review 0/1] introduce lvm forcevg option to forcibly deactivate the whole vg

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