DragonFly commits List (threaded) for 2003-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sbin/mount_nfs mount_nfs.c
dillon 2003/12/28 16:07:44 PST
DragonFly src repository
Modified files:
sbin/mount_nfs mount_nfs.c
Log:
Backgroundable NFS mounts can still cause a boot sequence to stall for
several minutes or longer if DNS services are not available during boot.
The stall time depends on the state of the network, DNS, ethernet and arp
timeouts, and the number of backgroundable NFS mounts.
Furthermore, temporary DNS failures caused NFS mounts (foreground or
background) to permanently fail and exit, which will likely result in
inconsistent system state after booting completes if DNS services or the
network is down during boot. This case is most likely to occur when
multiple machines boot simultaniously after recovering from a power outage.
Adjust foreground timeouts for 'bg' optioned NFS mounts to 1 second and reduce
the retry sleep() from 60 seconds to 20 seconds. 60 seconds is ridiculously
long even if you had a hundred machines with dozens of backgrounded nfs mounts
all trying to mount at the same time. Do not exit on temporary DNS
failures, and if a warning is generated for an earlier failure generate
another warning if the mount later succeeds rather then silence (which might
be misinterpreted in the logs as the mount having failed).
Revision Changes Path
1.7 +92 -26 src/sbin/mount_nfs/mount_nfs.c
http://www.dragonflybsd.org/cvsweb/src/sbin/mount_nfs/mount_nfs.c.diff?r1=1.6&r2=1.7&f=h
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]