mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Update clvmd_init_rhel4: use lvm.static and don't load dlm.
This commit is contained in:
parent
0129c2b0fc
commit
d43f7180dc
@ -1,5 +1,6 @@
|
||||
Version 2.01.02 -
|
||||
===================================
|
||||
Update clvmd_init_rhel4: use lvm.static and don't load dlm.
|
||||
Fix some size_t printing.
|
||||
Fix 64 bit xlate consts.
|
||||
Split out pool sptype_names to avoid unused const.
|
||||
|
@ -13,15 +13,12 @@
|
||||
|
||||
LOCK_FILE="/var/lock/subsys/clvmd"
|
||||
|
||||
#
|
||||
# FIXME -- the lvm2-cluster rpms put the lvm tools in a different location
|
||||
#
|
||||
lvdisplay=/usr/sbin/cluster/lvdisplay
|
||||
vgchange=/usr/sbin/cluster/vgchange
|
||||
lvdisplay="/sbin/lvm.static lvdisplay"
|
||||
vgchange="/sbin/lvm.static vgchange"
|
||||
vgscan="/sbin/lvm.static vgscan"
|
||||
|
||||
start()
|
||||
{
|
||||
modprobe dlm
|
||||
for rtrn in 0
|
||||
do
|
||||
if ! pidof clvmd > /dev/null
|
||||
@ -40,6 +37,9 @@ start()
|
||||
fi
|
||||
fi
|
||||
|
||||
# refresh cache
|
||||
$vgscan > /dev/null 2>&1
|
||||
|
||||
if [ -n "$LVM_VGS" ]
|
||||
then
|
||||
for vg in $LVM_VGS
|
||||
@ -124,7 +124,6 @@ stop()
|
||||
echo
|
||||
fi
|
||||
done
|
||||
modprobe -r dlm > /dev/null 2>&1
|
||||
|
||||
return $rtrn
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user