DragonFly users List (threaded) for 2009-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: dragonfly- UFS + HAMMER + mirroring setup designed instead of RAID - Is this OK?
:10 1 * * * (cd /root/adm; /usr/bin/lockf -k -t 0 .lockfile ./hms) &
:
:and I put this in the /etc/rc.shutdown
:
:(cd /root/adm; /usr/bin/lockf -k -t 0 .lockfile ./hmc)
:
:Will this do the trick ? :-)
:
:Thanks again
:
:--Siju
It should, except for the shutdown script you probably want to
try to kill the other scripts frist and then do a lockf -k -t 10
to pick up the hmc script if/when the others finish terminating,
with 10 timeout in case something races and doesn't terminate (lock
file still held by someone else).
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]