mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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 -
|
||||
===================================
|
||||
Fix clustered VG detection and default runlevels in clvmd_init_rhel4.
|
||||
Fix high-level free space check for partial allocations.
|
||||
|
||||
Version 2.02.13 - 27th October 2006
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# chkconfig: 345 24 76
|
||||
# chkconfig: - 24 76
|
||||
# description: Starts and stops clvmd
|
||||
#
|
||||
#
|
||||
@ -73,7 +73,7 @@ stop()
|
||||
done
|
||||
else
|
||||
# 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
|
||||
if ! action "Deactivating VG $vg:" $VGCHANGE -anl $vg
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user