[linux-lvm] Detecting active/inactive volume groups

Alasdair G Kergon agk at redhat.com
Fri Jul 23 23:13:02 UTC 2010


The concept of 'active' (or 'available') and 'inactive' in respect of Volume
Groups has been removed.  Under the LVM1 architecture it made sense - VG
metadata was cached in-kernel - but with device-mapper it doesn't - the kernel
doesn't know anything about VGs, only LVs.

Do your detection at the LV level instead.

Alasdair




More information about the linux-lvm mailing list