Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't Mount NFS Shares
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
eYz
n00b
n00b


Joined: 18 Mar 2003
Posts: 36
Location: Vancouver, BC, Canada

PostPosted: Sat Mar 22, 2003 1:05 am    Post subject: Can't Mount NFS Shares Reply with quote

Running Gentoo 1.4, I tried to mount a remote NFS share:
mount -0 rw,bg,intr,soft,rsize=8192,wsize=8192 server1:/export1 /mnt/nfs1

Nothing happens. I can't even Ctrl + C to return to the shell prompt.

I'm sure the server is running properly because I can mount the same share through other Linux systems.
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Sat Mar 22, 2003 1:18 am    Post subject: Reply with quote

Quote:
mount -0 rw,bg,intr,soft,rsize=8192,wsize=8192 server1:/export1 /mnt/nfs1


should you be using a lowercase "o" ? or is this just a typo.

hope this helps

chris
Back to top
View user's profile Send private message
eYz
n00b
n00b


Joined: 18 Mar 2003
Posts: 36
Location: Vancouver, BC, Canada

PostPosted: Sat Mar 22, 2003 1:52 am    Post subject: Reply with quote

That's a typo in the post only. Actually I run the same script when dual booting Red Hat and Gentoo. It always hangs in Gentoo.
Back to top
View user's profile Send private message
Kulfaangaren!
Apprentice
Apprentice


Joined: 11 Jan 2003
Posts: 176
Location: Borås, Sweden

PostPosted: Sat Mar 22, 2003 3:38 am    Post subject: Reply with quote

Have you set up the serverside permissions for this client correctly ?

In the last post about dual boot, do you mean that the script works under RedHat on the same machine with the same ip but not on Gentoo ?

// Fredrik
Back to top
View user's profile Send private message
useofweapons
n00b
n00b


Joined: 09 Jan 2003
Posts: 26

PostPosted: Sat Mar 22, 2003 3:40 am    Post subject: Reply with quote

You need to have portmap running on the client too
Code:
/etc/init.d/nfs start
Back to top
View user's profile Send private message
bwersch
n00b
n00b


Joined: 19 Jul 2002
Posts: 7

PostPosted: Sun Mar 23, 2003 5:17 pm    Post subject: Reply with quote

Did you remember to compile NFS support into your kernel?


-Brad
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Sun Mar 23, 2003 9:19 pm    Post subject: Reply with quote

Yes I agree with useofweapons. You are having the exact behavior that I get when I try to mount shares while portmap isn't running.
Back to top
View user's profile Send private message
eYz
n00b
n00b


Joined: 18 Mar 2003
Posts: 36
Location: Vancouver, BC, Canada

PostPosted: Sun Mar 23, 2003 10:32 pm    Post subject: Reply with quote

Thanks guys! Now it's working. But do I really have to run the server daemon while I'm only a NFS client? Or is it the same concept of Windows file sharing that everyone is a server and a client?
Back to top
View user's profile Send private message
captmiddy
n00b
n00b


Joined: 12 Mar 2003
Posts: 17

PostPosted: Sun Apr 06, 2003 2:10 pm    Post subject: Can't Mount NFS Shares Reply with quote

No you don't, you just have to run portmap in order to mount nfs. You only have to run the nfsd if you are going to be exporting local mount points. If you put your mount points into your fstab you can use nfsmount init script to mount your file systems.
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