NFS taking its time starting...
Christopher K. Johnson
ckjohnson at gwi.net
Fri Feb 20 14:12:54 UTC 2004
Sturla Holm Hansen wrote:
>When my internet-connection is down nfs-services takes forever to start,
>if the link is up it's normal...
>Any ideas?
>
>Sturla
>
>
>
>
If your exports are by hostname instead of address and you do not have a
local dns server for their zone, then the problem is that nfs is trying
to look up the hostnames and times out contacting the nameservers listed
in /etc/resolv.conf before giving up and not providing those exports.
The simple thing to try if I am right about the exports is to use ip
address or subnet based exports.
Another possible problem could be domain name based entries in
/etc/hosts.allow and /etc/hosts.deny if you configured tcpwrappers
restrictions for nfs. If that is the case these too could be changed to
ip subnet based instead.
The longer solution, but one you might want to work on, is to configure
a caching dns server on your gateway, and then add forward and inverse
zones to it served locally which define the local address/hostname
mappings. Then point your nfs server box at that dns server instead of
the ISP's servers.
--
-----------------------------------------------------------
"Spend less! Do more! Go Open Source..." -- Dirigo.net
Chris Johnson, RHCE #807000448202021
More information about the fedora-list
mailing list