phpman > man > lvm2-activation-generator(8)

Markdown | JSON | MCP    

LVM2-ACTIVATION-GENERATOR(8)                                            LVM2-ACTIVATION-GENERATOR(8)



NAME
       lvm2-activation-generator - generator for systemd units to activate LVM volumes on boot

SYNOPSIS
       /lib/systemd/system-generators/lvm2-activation-generator


DESCRIPTION
       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  ser‐
       vice  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  sys‐‐
       temd(1).


SEE ALSO
       lvm.conf(5)  vgchange(8)  lvchange(8)  pvscan(8)  udev(7)  systemd(1)  systemd.target(5) sys‐‐
       temd.special(7)



Red Hat, Inc                      LVM TOOLS 2.03.11(2) (2021-01-08)     LVM2-ACTIVATION-GENERATOR(8)

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-14 00:58 @216.73.216.200
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!