View previous topic :: View next topic |
Author |
Message |
emil n00b
Joined: 10 Feb 2003 Posts: 44 Location: Ireland
|
Posted: Fri Nov 05, 2004 4:07 pm Post subject: [nfs] exportfs fails at home but works at work |
|
|
Hi,
I am using my laptop to transport things like /usr/portage and pkgsrc between home and my office and
I want to use nfs to export these things to my home computers.
My export file for the moment is (cut down for debugging purposes):
Code: |
/var/nfs 192.168.0.1(sync)
/var/nfs 192.168.1.1(sync)
|
It used to be the case that this worked very well, but now I must have changed something vital,
because exportfs breaks at home, while at work there is no problem whatsoever. The main difference
between my home network and my job network is that at home I run NetBSD, but I do not
see how that would affect this. (And, it used to work just fine)
Presently, (but my troubles started before that) I configure the network on my laptop with dhcp,
and everything else network related works fine.
exportfs -r -v just takes forever and does not export anything when at home.
Any clues or pointers appreciated.
/emil[/i] |
|
Back to top |
|
|
richardash1981 Tux's lil' helper
Joined: 08 Apr 2005 Posts: 94 Location: England
|
Posted: Fri Nov 11, 2005 10:14 pm Post subject: |
|
|
Your DNS servers or hosts files have changed.
The nfs server needs to be able to do a reverse DNS lookup on each client IP that tries to connect to it,(even with IP addresses or masks in /etc/exports). If it can't, mount will often time out on the clients, and exportfs will take much longer.
Either add the nfs clients to the DNS or the server's hosts file. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|