1
0
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:
Alasdair Kergon 2006-11-01 18:25:26 +00:00
parent c89024511b
commit df52a8b52a
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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