View previous topic :: View next topic |
Author |
Message |
eYz n00b
Joined: 18 Mar 2003 Posts: 36 Location: Vancouver, BC, Canada
|
Posted: Sat Mar 22, 2003 1:05 am Post subject: Can't Mount NFS Shares |
|
|
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Sat Mar 22, 2003 1:18 am Post subject: |
|
|
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 |
|
|
eYz n00b
Joined: 18 Mar 2003 Posts: 36 Location: Vancouver, BC, Canada
|
Posted: Sat Mar 22, 2003 1:52 am Post subject: |
|
|
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 |
|
|
Kulfaangaren! Apprentice
Joined: 11 Jan 2003 Posts: 176 Location: Borås, Sweden
|
Posted: Sat Mar 22, 2003 3:38 am Post subject: |
|
|
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 |
|
|
useofweapons n00b
Joined: 09 Jan 2003 Posts: 26
|
Posted: Sat Mar 22, 2003 3:40 am Post subject: |
|
|
You need to have portmap running on the client too Code: | /etc/init.d/nfs start |
|
|
Back to top |
|
|
bwersch n00b
Joined: 19 Jul 2002 Posts: 7
|
Posted: Sun Mar 23, 2003 5:17 pm Post subject: |
|
|
Did you remember to compile NFS support into your kernel?
-Brad |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Sun Mar 23, 2003 9:19 pm Post subject: |
|
|
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 |
|
|
eYz n00b
Joined: 18 Mar 2003 Posts: 36 Location: Vancouver, BC, Canada
|
Posted: Sun Mar 23, 2003 10:32 pm Post subject: |
|
|
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 |
|
|
captmiddy n00b
Joined: 12 Mar 2003 Posts: 17
|
Posted: Sun Apr 06, 2003 2:10 pm Post subject: Can't Mount NFS Shares |
|
|
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 |
|
|
|