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

NAME

6       lvm2-activation-generator - generator for systemd units to activate LVM
7       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 LVM Logical Volumes (LVs) when
16       global/event_activation=0 is  set  in  lvm.conf(5).   These  units  use
17       vgchange -aay to activate LVs.
18
19       If  event_activation=1, the lvm2-activation-generator exits immediately
20       without generating any systemd units, and LVM fully  relies  on  event-
21       based activation to activate LVs.  In this case, event-generated pvscan
22       --cache -aay commands activate LVs.
23
24       These systemd units are generated by lvm2-activation-generator:
25
26       lvm2-activation-early.service is run before  systemd's  special  crypt‐
27       setup.target  to  activate LVs that are not layered on top of encrypted
28       devices.
29
30       lvm2-activation.service is run after systemd's special  cryptsetup.tar‐
31       get to activate LVs that are layered on top of encrypted devices.
32
33       lvm2-activation-net.service  is  run  after  systemd's  special remote-
34       fs-pre.target to activate LVs that are layered on attached  remote  de‐
35       vices.
36
37       Note  that all the underlying LVM devices (Physical Volumes) need to be
38       present when the service is run. If the there are any devices that  ap‐
39       pear  to the system later, LVs using these devices need to be activated
40       directly by lvchange(8) or vgchange(8).
41
42       The lvm2-activation-generator implements the  Generators  Specification
43       as referenced in systemd(1).
44
45

SEE ALSO

47       lvm.conf(5)  vgchange(8)  lvchange(8) pvscan(8) udev(7) systemd(1) sys‐
48       temd.target(5) systemd.special(7)
49
50
51
52Red Hat, Inc           LVM TOOLS 2.03.11(2) (2021-0L1V-M028-)ACTIVATION-GENERATOR(8)
Impressum