lvm2-activation-generator - generator for systemd units to activate LVM volumes on boot
The lvm2-activation-generator is called by systemd(1) on boot to generate systemd units at runtime to activate LVM Logical Volumes (LVs) when global/event_activation=0 is set in lvm.conf(5). These units use vgchange -aay to activate LVs. If event_activation=1, the lvm2-activation-generator exits immediately without generating any systemd units, and LVM fully relies on event-based activation to activate LVs. In this case, event-generated pvscan --cache -aay commands activate LVs. These systemd units are generated by lvm2-activation-generator: lvm2-activation-early.service is run before systemd's special cryptsetup.target to activate LVs that are not layered on top of encrypted devices. lvm2-activation.service is run after systemd's special cryptsetup.target to activate LVs that are layered on top of encrypted devices. lvm2-activation-net.service is run after systemd's special remote-fs-pre.target to activate LVs that are layered on attached remote devices. Note that all the underlying LVM devices (Physical Volumes) need to be present when the service is run. If the there are any devices that appear to the system later, LVs using these devices need to be activated directly by lvchange(8) or vgchange(8). The lvm2-activation-generator implements the Generators Specification as referenced in systemd(1).
lvm.conf(5), vgchange(8), lvchange(8), pvscan(8), systemd(1), systemd.target(5), systemd.special(7), udev(7)
This page is part of the lvm2 (Logical Volume Manager 2) project. Information about the project can be found at ⟨http://www.sourceware.org/lvm2/⟩. If you have a bug report for this manual page, see ⟨https://github.com/lvmteam/lvm2/issues⟩. This page was obtained from the tarball https://github.com/lvmteam/lvm2/archive/refs/tags/v2_03_12.tar.gz fetched from ⟨https://github.com/lvmteam/lvm2/releases⟩ on 2021-06-20. If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up- to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to firstname.lastname@example.org Red Hat, Inc LVM TOOLS 2.03.12(2) (202L1V-M025--A0C7T)IVATION-GENERATOR(8)
Pages that refer to this page: lvchange(8), lvconvert(8), lvcreate(8), lvdisplay(8), lvextend(8), lvm(8), lvmconfig(8), lvmdevices(8), lvmdiskscan(8), lvm-fullreport(8), lvm-lvpoll(8), lvreduce(8), lvremove(8), lvrename(8), lvresize(8), lvs(8), lvscan(8), pvchange(8), pvck(8), pvcreate(8), pvdisplay(8), pvmove(8), pvremove(8), pvresize(8), pvs(8), pvscan(8), vgcfgbackup(8), vgcfgrestore(8), vgchange(8), vgck(8), vgconvert(8), vgcreate(8), vgdisplay(8), vgexport(8), vgextend(8), vgimport(8), vgimportclone(8), vgimportdevices(8), vgmerge(8), vgmknodes(8), vgreduce(8), vgremove(8), vgrename(8), vgs(8), vgscan(8), vgsplit(8)