Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS mount hangs
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
Premium
n00b
n00b


Joined: 08 Aug 2002
Posts: 8
Location: Germany

PostPosted: Thu Feb 06, 2003 4:32 pm    Post subject: NFS mount hangs Reply with quote

Hi

I've a problem mounting a NFS share from a Redhat Linux Server...

After my
mount -t nfs 192.168.1.214:/tmp/knoppix/cdrom /tmp/localdir

this mount command hangs... changing to another console the mounted local dir is empty. The server log file looks normal.

After I manually kill the process [rpciod] I get an "Interrupted" on the mount console and the local mount dir is there! What's wrong?
I already tried kernel 2.4.19 and 2.4.20, NFS v3 is enabled...

Any hints?
Thanks,
Premium
Back to top
View user's profile Send private message
mlom
n00b
n00b


Joined: 05 Feb 2003
Posts: 11

PostPosted: Thu Feb 06, 2003 6:03 pm    Post subject: Reply with quote

Have you started portmap and mountd ?

/Mats
Back to top
View user's profile Send private message
Premium
n00b
n00b


Joined: 08 Aug 2002
Posts: 8
Location: Germany

PostPosted: Thu Feb 06, 2003 6:15 pm    Post subject: Reply with quote

Do I need portmap and mountd on both the client and server side??

I don't think I need on the client, portmap and rpc.mountd are running on the server...

Strange is that it works after a "kill -9" to the rpciod-task
Back to top
View user's profile Send private message
mlom
n00b
n00b


Joined: 05 Feb 2003
Posts: 11

PostPosted: Thu Feb 06, 2003 6:32 pm    Post subject: Reply with quote

See: http://www.tldp.org/HOWTO/NFS-HOWTO/client.html

Yo do need portmapper, lockd and statd running on the client..

/Mats
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Fri Feb 07, 2003 1:16 pm    Post subject: Reply with quote

You do not need those tools, although it is recommended.

You can also mount using the "-o nolock" option. So "mount -t nfs -o nolock server:/path /otherpath" should work without hanging the process and without having those tools installed on the clients.
Back to top
View user's profile Send private message
al
Guru
Guru


Joined: 26 Dec 2002
Posts: 304
Location: Scotland

PostPosted: Fri Feb 07, 2003 9:42 pm    Post subject: Reply with quote

I have my gentoo box mount my nfs Suse server box on boot by adding the following line to my /etc/fstab file:

server:/home/al /mnt/nfs nfs rsize=8192,wsize=8192,timeo=14,intr

I can't remember where i put the nfs export line in the suse box-i looked in /etc/exports but it's not there.

If you know where i should be looking then i'll look it up for you
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