master - cleanup: clarify man pages about lvchange/vgchange -aay, use -aay in lvm2-cluster-activation script
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1a5062c9a7136f93a00b998ff0de1a32bb347b5f Commit: 1a5062c9a7136f93a00b998ff0de1a32bb347b5f Parent: a092cd33be13229b288ab44fb39e410c1ca57175 Author: Peter Rajnoha <[email protected]> AuthorDate: Tue Feb 11 13:48:04 2014 +0100 Committer: Peter Rajnoha <[email protected]> CommitterDate: Tue Feb 11 13:48:04 2014 +0100
cleanup: clarify man pages about lvchange/vgchange -aay, use -aay in lvm2-cluster-activation script
--- WHATS_NEW | 2 +- man/lvchange.8.in | 5 +++-- man/vgchange.8.in | 7 ++++--- scripts/lvm2_cluster_activation_red_hat.sh.in | 4 +++- 4 files changed, 11 insertions(+), 7 deletions(-)
WHATS_NEW +1 -1
@@ -1,6 +1,6 @@ Version 2.02.106 - ==================================== - Add systemd native service for clvmd, cmirrord and cluster activation. + Add systemd native service for clvmd, cmirrord and clustered LV activation. Remove ExecReload from lvmetad systemd unit: lvmetad -R undefined. (2.02.98) Do not fork lvmetad if running under systemd. Wipe DM_snapshot_cow signature without prompt in new LVs with blkid wiping.
man/lvchange.8.in +3 -2
@@ -74,8 +74,9 @@ logical volumes. If autoactivation option is used (\-aay), the logical volume is activated only if it matches an item in the activation/auto_activation_volume_list set in lvm.conf. If this list is not set, then all volumes are considered for -autoactivation. The autoactivation is not yet supported for -logical volumes that are part of partial or clustered volume groups. +activation. The \-aay option should be also used during system +boot so it's possible to select which volumes to activate using +the activation/auto_activation_volume_list setting. .IP If clustered locking is enabled, -aey will activate exclusively on one node and -aly will activate only on the local node.
man/vgchange.8.in +4 -3
@@ -76,9 +76,10 @@ In other words, makes the logical volumes known/unknown to the kernel. If autoactivation option is used (\-aay), each logical volume in the volume group is activated only if it matches an item in the activation/auto_activation_volume_list set in lvm.conf. If this -list is not set, then all volumes are considered for autoactivation. -The autoactivation is not yet supported for partial or clustered -volume groups. +list is not set, then all volumes are considered for activation. +The \-aay option should be also used during system boot so it's +possible to select which volumes to activate using the +activation/auto_activation_volume_list settting. .IP If clustered locking is enabled, add 'e' to activate/deactivate exclusively on one node or 'l' to activate/deactivate only
scripts/lvm2_cluster_activation_red_hat.sh.in +3 -1
@@ -31,7 +31,9 @@ activate() { fi echo -n "Activating ${LVM_VGS:-"all VG(s)"}: " - ${lvm_vgchange} -ayl $LVM_VGS || return 1 + # Respect activation/auto_activation_volume_list! + # Call "-aay" which is equal to "-aly" but respects this list. + ${lvm_vgchange} -aay $LVM_VGS || return 1 return 0 }