View previous topic :: View next topic |
Author |
Message |
quartz n00b

Joined: 13 Jun 2003 Posts: 8
|
Posted: Wed Jun 18, 2003 5:40 am Post subject: mount of nfs hanging |
|
|
hey all,
I have setup an NFS server on my RedHat linux box. When I get to my Gentoo laptop, I try to mount the remote fs like so:
Code: | mount servername:/sharename /mnt/testlocname |
But, when I do this, I get no response back from the command. It just hangs there, and I can't even stop or ctrl-c the process to break out of the deadlock.
Has anyone else experienced this problem? And if so, how can I remove the hang?
I know its connecting to the server because if i don't have the NFS Server up, the mount command returns with an error.
thanks
-quartz |
|
Back to top |
|
 |
nightcanton Apprentice

Joined: 26 Feb 2003 Posts: 249
|
Posted: Wed Jun 18, 2003 5:50 am Post subject: |
|
|
Make sure you have NFS enabled in your kernel.
More than likely you forgot to compile that in.
Look under Filesystems-->Network filesystems-->> |
|
Back to top |
|
 |
quartz n00b

Joined: 13 Jun 2003 Posts: 8
|
Posted: Wed Jun 18, 2003 6:04 am Post subject: |
|
|
Does NFS need to be enabled in the kernel even the client too? and if so, what version (4 / 5)? will it make a difference...?
thanks |
|
Back to top |
|
 |
quartz n00b

Joined: 13 Jun 2003 Posts: 8
|
Posted: Wed Jun 18, 2003 3:26 pm Post subject: |
|
|
i made sure nfs was enabled in the kernel and rebuilt it. unfortunately, that didn't seem to solve the problem. any else encounter this hang?
thanks! |
|
Back to top |
|
 |
sieter Tux's lil' helper

Joined: 03 Jan 2003 Posts: 111
|
Posted: Wed Jun 18, 2003 5:50 pm Post subject: |
|
|
did you start your portmapper?
/etc/init.d/portmap start |
|
Back to top |
|
 |
purity n00b

Joined: 23 Jun 2003 Posts: 1
|
Posted: Mon Jun 23, 2003 3:06 pm Post subject: nfs hanging |
|
|
try the following command as root
/etc/init.d/nfsmount start
this starts all the clients services ready for nfs to work
if this works you can make this work everytime you boot by executing the following command
rc-update add nfsmount default
please let me know if this solves your problem
Regards
Purity |
|
Back to top |
|
 |
nitro322 Guru


Joined: 24 Jul 2002 Posts: 596 Location: USA
|
Posted: Mon Jun 23, 2003 8:28 pm Post subject: |
|
|
I have encountered that problem before, but sieter's suggestion of starting portmap worked for me. Just make sure that it's in your default runlevel and you shouldn't have any problems. |
|
Back to top |
|
 |
|