mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Fix clustered VG detection and default runlevels in clvmd_init_rhel4.
This commit is contained in:
parent
c89024511b
commit
df52a8b52a
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.14 -
|
Version 2.02.14 -
|
||||||
===================================
|
===================================
|
||||||
|
Fix clustered VG detection and default runlevels in clvmd_init_rhel4.
|
||||||
Fix high-level free space check for partial allocations.
|
Fix high-level free space check for partial allocations.
|
||||||
|
|
||||||
Version 2.02.13 - 27th October 2006
|
Version 2.02.13 - 27th October 2006
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# chkconfig: 345 24 76
|
# chkconfig: - 24 76
|
||||||
# description: Starts and stops clvmd
|
# description: Starts and stops clvmd
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
@ -73,7 +73,7 @@ stop()
|
|||||||
done
|
done
|
||||||
else
|
else
|
||||||
# Hack to only deactivate clustered volumes
|
# Hack to only deactivate clustered volumes
|
||||||
clustervgs=`$VGDISPLAY \`$VGS --noheadings -o name\` | awk 'BEGIN {RS="VG Name"} {if (/Clustered/) print $1;}'`
|
clustervgs=`$VGDISPLAY 2> /dev/null | awk 'BEGIN {RS="VG Name"} {if (/Clustered/) print $1;}'
|
||||||
for vg in $clustervgs; do
|
for vg in $clustervgs; do
|
||||||
if ! action "Deactivating VG $vg:" $VGCHANGE -anl $vg
|
if ! action "Deactivating VG $vg:" $VGCHANGE -anl $vg
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user