]> sourceware.org Git - lvm2.git/commit
pvscan: add --activate ay option (autoactivate)
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 27 Jun 2012 13:35:11 +0000 (09:35 -0400)
committerPeter Rajnoha <prajnoha@redhat.com>
Thu, 28 Jun 2012 13:44:03 +0000 (09:44 -0400)
commitd2df8dddc8c04973a3e23b7a19e9bfbf8c45f79e
tree7bcca97a3e58c468df6de63e1bb941e844ca27bd
parent215a314f195ea4af5265e37999502462fcf2a341
pvscan: add --activate ay option (autoactivate)

Define auto_activation_handler that activates VGs/LVs automatically
based on the activation/auto_activation_volume_list (activating all
volumes by default if the list is not defined).

The autoactivation is done within the pvscan call in 69-dm-lvmetad.rules
that watches for udev events (device appearance/removal).

For now, this works for non-clustered and complete VGs only.
WHATS_NEW
tools/commands.h
tools/pvscan.c
udev/69-dm-lvm-metad.rules.in
This page took 0.031362 seconds and 5 git commands to generate.