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:
parent
ed2799e7fe
commit
eaafeaaa09
@ -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.
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user