1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

conf: add activation/auto_activation_volume_list

This commit is contained in:
Peter Rajnoha 2012-06-26 06:17:23 -04:00
parent a2f4ccd839
commit f6a3ef4490
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.97 -
===============================
Add activation/auto_activation_volume_list to lvm.conf.
Add --activate ay to lvcreate.
Add --activate ay to lvchange.
Add --activate ay to pvscan.

View File

@ -550,6 +550,15 @@ activation {
#
# volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
# If auto_activation_volume_list is defined, each LV that is to be activated
# is checked against the list while using the --autoactivate option, and if
# it matches, it is activated.
# "vgname" and "vgname/lvname" are matched exactly.
# "@tag" matches any tag set in the LV or VG.
# "@*" matches if any tag defined on the host is also set in the LV or VG
#
# auto_activation_volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
# If read_only_volume_list is defined, each LV that is to be activated
# is checked against the list, and if it matches, it as activated
# in read-only mode. (This overrides '--permission rw' stored in the