Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[nfs] exportfs fails at home but works at work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
emil
n00b
n00b


Joined: 10 Feb 2003
Posts: 44
Location: Ireland

PostPosted: Fri Nov 05, 2004 4:07 pm    Post subject: [nfs] exportfs fails at home but works at work Reply with quote

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
View user's profile Send private message
richardash1981
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 94
Location: England

PostPosted: Fri Nov 11, 2005 10:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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