dragonfly- UFS + HAMMER + mirroring setup designed instead of RAID - Is this OK?

Matthew Dillon dillon at apollo.backplane.com
Wed Jul 22 10:29:43 PDT 2009


: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 at backplane.com>





More information about the Users mailing list