[linux-lvm] Szenario for lvmetad
prajnoha at redhat.com
Tue Aug 19 13:09:49 UTC 2014
On 08/19/2014 01:52 PM, Oliver Rath wrote:
> Hi list,
> does it make sense to use lvmetad in one pc with 4 disks, which are used
> for lvm? Are the metadata cached in a non-lvmetad environment?
Without lvmetad all the block devs are scanned (minus the ones that
are filtered) for each LVM command execution - there's no other persistent
cache. If you don't have numerous block disks in the system, you probably won't
lose much by switching off lvmetad.
However, LVM autoactivation depends on lvmetad use so if you disable lvmetad,
the LVM volumes must be always activated directly (either as part of bootup
script - which is normally left there in case someone disables lvmetad) or
the volumes must be activated on cmd line directly if you attach any PVs
when the system is already up and running (e.g. attaching iSCSI or FCoE
devices, flash disks, external storage...).
More information about the linux-lvm