1LVM2-ACTIVATION-GENERATOR(8)                      LVM2-ACTIVATION-GENERATOR(8)
2
3
4

NAME

6       lvm2-activation-generator  -  generator  for  systemd units to activate
7       LVM2 volumes on boot
8

SYNOPSIS

10       /usr/lib/systemd/system-generators/lvm2-activation-generator
11
12

DESCRIPTION

14       The lvm2-activation-generator is called by systemd(1) on boot to gener‐
15       ate  systemd units at runtime to activate LVM2 volumes if lvmetad(8) is
16       disabled (global/use_lvmetad=0 lvm.conf(5) option is used).  Otherwise,
17       if  lvmetad(8)  is enabled, the lvm2-activation-generator exits immedi‐
18       ately without generating any systemd units and  LVM2  fully  relies  on
19       event-based  activation  to activate the LVM2 volumes instead using the
20       pvscan(8) (pvscan --cache -aay) call that is a part of udev(8) rules.
21
22       These systemd units are generated by lvm2-activation-generator:
23
24       lvm2-activation-early.service used for activation of LVM2 volumes  that
25       is  ordered  before systemd's special cryptsetup.target to support LVM2
26       volumes which are not layered on top of encrypted devices.
27
28       lvm2-activation.service used for activation of  LVM2  volumes  that  is
29       ordered  after systemd's special cryptsetup.target to support LVM2 vol‐
30       umes which are layered on top of encrypted devices.
31
32       lvm2-activation-net.service used for activation of LVM2 volumes that is
33       ordered  after  systemd's  special remote-fs-pre.target to support LVM2
34       volumes which are layered on attached remote devices.
35
36       Note that all the underlying devices  (Physical  Volumes)  need  to  be
37       present when the service is run. If the there are any devices presented
38       in the system anytime later, any LVM2 volumes on top  of  such  devices
39       need to be activated directly by lvchange(8) or vgchange(8). This limi‐
40       tation does not exist when using  lvmetad(8)  and  accompanying  event-
41       based  activation since such LVM volumes are activated automatically as
42       soon as the Volume Group is ready (all the Physical Volumes  making  up
43       the Volume Group are present in the system).
44
45       The  lvm2-activation-generator  implements the Generators Specification
46       as referenced in systemd(1).
47
48

SEE ALSO

50       lvm.conf(5) vgchange(8) lvchange(8) lvmetad(8) pvscan(8)  udev(7)  sys‐
51       temd(1) systemd.target(5) systemd.special(7)
52
53
54
55Red Hat, Inc       LVM TOOLS 2.02.180(2)-RHEL7 (201L8V-M027--A2C0T)IVATION-GENERATOR(8)
Impressum