mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
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.
This commit is contained in:
parent
f6a3ef4490
commit
2d5adc5823
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user