Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount of nfs hanging
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
quartz
n00b
n00b


Joined: 13 Jun 2003
Posts: 8

PostPosted: Wed Jun 18, 2003 5:40 am    Post subject: mount of nfs hanging Reply with quote

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
View user's profile Send private message
nightcanton
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 249

PostPosted: Wed Jun 18, 2003 5:50 am    Post subject: Reply with quote

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
View user's profile Send private message
quartz
n00b
n00b


Joined: 13 Jun 2003
Posts: 8

PostPosted: Wed Jun 18, 2003 6:04 am    Post subject: Reply with quote

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
View user's profile Send private message
quartz
n00b
n00b


Joined: 13 Jun 2003
Posts: 8

PostPosted: Wed Jun 18, 2003 3:26 pm    Post subject: Reply with quote

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


Joined: 03 Jan 2003
Posts: 111

PostPosted: Wed Jun 18, 2003 5:50 pm    Post subject: Reply with quote

did you start your portmapper?
/etc/init.d/portmap start
Back to top
View user's profile Send private message
purity
n00b
n00b


Joined: 23 Jun 2003
Posts: 1

PostPosted: Mon Jun 23, 2003 3:06 pm    Post subject: nfs hanging Reply with quote

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
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 596
Location: USA

PostPosted: Mon Jun 23, 2003 8:28 pm    Post subject: Reply with quote

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
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