summaryrefslogtreecommitdiffstats
path: root/old-tests
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-07-31 16:20:24 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2012-07-31 16:20:24 +0200
commitd3e67ba8ca13115ffdd324e64e965240dced8ef1 (patch)
treea086c4b079e057eba08b2165699617a721c35c8c /old-tests
parentf64f22e2d657346197fcd0b8e97e87b6d290ab2b (diff)
downloadlvm2-d3e67ba8ca13115ffdd324e64e965240dced8ef1.tar.gz
lvm2-d3e67ba8ca13115ffdd324e64e965240dced8ef1.tar.xz
lvm2-d3e67ba8ca13115ffdd324e64e965240dced8ef1.zip
systemd: add lvm2 activation generator
The lvm2 activation generator generates systemd units conditionally based on the global/use_lvmetad lvm.conf setting. If use_lvmetad=0, the lvm2-activation-early.service and lvm2-activation.service units will be generated. These units are responsible for direct volume activation by calling "vgchange -aay --sysinit" (this is actually the original on-boot activation as it was used before). If use_lvmetad=1, no units will be generated as we're relying on autoactivation. Important thing to note is that the lvm2-activation units normally bring in the udev-settle ("storage-wait") service that waits for udev to settle (with block devices). We don't need this if lvmetad is used in conjunction with autoactivation feature... but systemd units can't be enabled or disabled (or dependencies added/removed) dynamically based on external configuration. Therefore, we need the unit generator which adds support for such situations: the units as a whole either exist or not based on the external configuration.
Diffstat (limited to 'old-tests')
0 files changed, 0 insertions, 0 deletions