mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-24 06:04:19 +03:00
64dd17e539
A new file /run/lvm/event-activation-on is used to transition from a fixed point in time activation (vgchange -aay) run by a startup service, to event based activation (pvscan --cache -aay) run by uevents. vgchange -aay --vgonline --eventactivation enable . creates /run/lvm/event-activation-on . creates /run/lvm/pvs_online/ files for existing PVs . looks for complete VGs . creates vg online file . activates complete VGs pvscan --cache --eventactivation check ... . checks if /run/lvm/event-activation-on exists . if not, does nothing and quits . if so, does traditional pvscan If lvm.conf has event_activation=0, then do not create the event-activation-on file to enable event activation from vgchange -aay --eventactivation enable.