mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Add timeout to RHEL4 clvmd init script.
With the previous clvmd checkin this should address bz#187812
This commit is contained in:
parent
bd8be78c09
commit
736751930f
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.16 -
|
Version 2.02.16 -
|
||||||
====================================
|
====================================
|
||||||
|
Add startup timeout to RHEL4 clvmd startup script
|
||||||
Add -T (startup timeout) switch to clvmd.
|
Add -T (startup timeout) switch to clvmd.
|
||||||
Improve lvm_dump.sh robustness.
|
Improve lvm_dump.sh robustness.
|
||||||
Update lvm2create_initrd to support gentoo.
|
Update lvm2create_initrd to support gentoo.
|
||||||
|
@ -15,6 +15,7 @@ VGCHANGE="/usr/sbin/vgchange"
|
|||||||
VGSCAN="/usr/sbin/vgscan"
|
VGSCAN="/usr/sbin/vgscan"
|
||||||
VGDISPLAY="/usr/sbin/vgdisplay"
|
VGDISPLAY="/usr/sbin/vgdisplay"
|
||||||
VGS="/usr/sbin/vgs"
|
VGS="/usr/sbin/vgs"
|
||||||
|
CLVMDOPTS="-T20"
|
||||||
|
|
||||||
[ -f /etc/sysconfig/cluster ] && . /etc/sysconfig/cluster
|
[ -f /etc/sysconfig/cluster ] && . /etc/sysconfig/cluster
|
||||||
|
|
||||||
@ -27,7 +28,7 @@ start()
|
|||||||
if ! pidof clvmd > /dev/null
|
if ! pidof clvmd > /dev/null
|
||||||
then
|
then
|
||||||
echo -n "Starting clvmd: "
|
echo -n "Starting clvmd: "
|
||||||
daemon clvmd
|
daemon clvmd $CLVMDOPTS
|
||||||
rtrn=$?
|
rtrn=$?
|
||||||
echo
|
echo
|
||||||
if [ $rtrn -ne 0 ]
|
if [ $rtrn -ne 0 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user