1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-24 06:04:19 +03:00
David Teigland 64dd17e539 pvscan, vgchange: add eventactivation option
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.
2021-10-07 12:45:22 -05:00
..
2016-01-21 12:11:37 +01:00
2021-09-20 14:26:09 +02:00
2016-01-21 12:11:37 +01:00
2017-03-28 16:11:35 +01:00
2021-09-27 18:56:14 +02:00
2021-09-27 18:56:14 +02:00
2016-01-21 12:11:37 +01:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2016-01-21 12:11:37 +01:00
2021-09-27 18:56:14 +02:00
2021-10-07 12:06:49 -05:00
2018-12-04 14:06:46 -06:00
2016-01-21 12:11:37 +01:00
2018-07-11 11:26:42 -05:00
2021-09-06 14:00:20 +02:00
2021-08-16 11:31:15 -05:00
2021-02-23 16:43:32 -06:00
2016-01-21 12:11:37 +01:00
2021-06-09 14:56:13 +02:00
2019-06-25 15:39:08 -05:00
2021-10-06 15:43:31 +02:00
2016-01-21 12:11:37 +01:00
2018-06-13 14:14:03 -05:00
2016-01-21 12:11:37 +01:00
2021-04-19 14:40:14 +02:00
2021-07-21 13:19:51 +02:00
2021-08-16 11:31:15 -05:00