master - initscript: call vgchange -aay instead of -aly
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2d5adc5823353cba2bd3e585bb75a4a298f4cbfd Commit: 2d5adc5823353cba2bd3e585bb75a4a298f4cbfd Parent: f6a3ef4490ebcb2318fd98e79add2c910cf482c5 Author: Peter Rajnoha <[email protected]> AuthorDate: Thu Jun 28 12:49:33 2012 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Jun 28 09:44:07 2012 -0400
initscript: call vgchange -aay instead of -aly
The clmvd init script called "vgchange -aly" before to activate all VGs in cluster environment. This activated all VGs, no matter if it was clustered or not.
Auto activation for clustered VGs is not supported yet so the behaviour of -aay is still the same as before for clustered VGs. However, for non-clustered VGs, we need to check with the activation/auto_activation_volume_list whether the VG/LV should be activated on boot or not.
--- WHATS_NEW | 1 + scripts/clvmd_init_red_hat.in | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.97 - =============================== + Use vgchange -aay instead of vgchange -ay in clmvd init script. Add activation/auto_activation_volume_list to lvm.conf. Add --activate ay to lvcreate. Add --activate ay to lvchange.
scripts/clvmd_init_red_hat.in +1 -1
@@ -87,7 +87,7 @@ start() ${lvm_vgscan} > /dev/null 2>&1 - action "Activating VG(s):" ${lvm_vgchange} -ayl $LVM_VGS || return $? + action "Activating VG(s):" ${lvm_vgchange} -aay $LVM_VGS || return $? touch $LOCK_FILE