mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix clvmd init script stop function to not deactive non-clustered volume groups.
https://bugzilla.redhat.com/show_bug.cgi?id=592362
This commit is contained in:
parent
a932c2b61f
commit
3ab04a088c
@ -1,5 +1,6 @@
|
||||
Version 2.02.65 -
|
||||
=================================
|
||||
Fix clvmd init script to not deactive non-clustered volume groups.
|
||||
Disallow cluster attr toggling if there are active mirrors or snapshots.
|
||||
Use /bin/bash for scripts with bashisms.
|
||||
Skip internal lvm devices in scan if ignore suspended devices is requested.
|
||||
|
@ -109,7 +109,10 @@ stop()
|
||||
{
|
||||
rh_status_q || return 0
|
||||
|
||||
action "Deactivating clusterd VG(s):" ${lvm_vgchange} -anl ${LVM_VGS:-$(clustered_vgs)} || return $?
|
||||
[ -z "$LVM_VGS" ] && LVM_VGS="$(clustered_vgs)"
|
||||
if [ -n "$LVM_VGS" ]; then
|
||||
action "Deactivating clustered VG(s):" ${lvm_vgchange} -anl $LVM_VGS || return $?
|
||||
fi
|
||||
|
||||
action "Signaling $DAEMON to exit" kill -TERM $(pidofproc $DAEMON) || return $?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user