View previous topic :: View next topic |
Author |
Message |
Premium n00b
Joined: 08 Aug 2002 Posts: 8 Location: Germany
|
Posted: Thu Feb 06, 2003 4:32 pm Post subject: NFS mount hangs |
|
|
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 |
|
|
mlom n00b
Joined: 05 Feb 2003 Posts: 11
|
Posted: Thu Feb 06, 2003 6:03 pm Post subject: |
|
|
Have you started portmap and mountd ?
/Mats |
|
Back to top |
|
|
Premium n00b
Joined: 08 Aug 2002 Posts: 8 Location: Germany
|
Posted: Thu Feb 06, 2003 6:15 pm Post subject: |
|
|
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 |
|
|
mlom n00b
Joined: 05 Feb 2003 Posts: 11
|
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Feb 07, 2003 1:16 pm Post subject: |
|
|
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 |
|
|
al Guru
Joined: 26 Dec 2002 Posts: 304 Location: Scotland
|
Posted: Fri Feb 07, 2003 9:42 pm Post subject: |
|
|
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 |
|
|
|