Sturla Holm Hansen wrote:
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.When my internet-connection is down nfs-services takes forever to start, if the link is up it's normal... Any ideas?
Sturla
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