1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-04 09:18:36 +03:00

Update clvmd_init_rhel4: use lvm.static and don't load dlm.

This commit is contained in:
Alasdair Kergon 2005-01-20 22:16:55 +00:00
parent ed2799e7fe
commit eaafeaaa09
2 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,6 @@
Version 2.01.02 - Version 2.01.02 -
=================================== ===================================
Update clvmd_init_rhel4: use lvm.static and don't load dlm.
Fix some size_t printing. Fix some size_t printing.
Fix 64 bit xlate consts. Fix 64 bit xlate consts.
Split out pool sptype_names to avoid unused const. Split out pool sptype_names to avoid unused const.

View File

@ -13,15 +13,12 @@
LOCK_FILE="/var/lock/subsys/clvmd" LOCK_FILE="/var/lock/subsys/clvmd"
# lvdisplay="/sbin/lvm.static lvdisplay"
# FIXME -- the lvm2-cluster rpms put the lvm tools in a different location vgchange="/sbin/lvm.static vgchange"
# vgscan="/sbin/lvm.static vgscan"
lvdisplay=/usr/sbin/cluster/lvdisplay
vgchange=/usr/sbin/cluster/vgchange
start() start()
{ {
modprobe dlm
for rtrn in 0 for rtrn in 0
do do
if ! pidof clvmd > /dev/null if ! pidof clvmd > /dev/null
@ -40,6 +37,9 @@ start()
fi fi
fi fi
# refresh cache
$vgscan > /dev/null 2>&1
if [ -n "$LVM_VGS" ] if [ -n "$LVM_VGS" ]
then then
for vg in $LVM_VGS for vg in $LVM_VGS
@ -124,7 +124,6 @@ stop()
echo echo
fi fi
done done
modprobe -r dlm > /dev/null 2>&1
return $rtrn return $rtrn
} }