NFS
Fred Roller
froller at tnclimited.com
Wed Jul 15 14:08:18 UTC 2009
On Wed, 2009-07-15 at 00:19 -0700, Matthew A Coulliette wrote:
> hi all,
>
> I am trying to setup NFS on my home network.
>
> I have installed nfs on the server:
> sudo apt-get install nfs-kernel-server nfs-common portmap.
>
> In /etc/exports I added the following line:
> /users/data/fileshare 192.168.0.3(rw,sync,no_root_squash)
> Where 192.168.0.3 is the IP of the client computer.
>
>
> I have installed the following on the client computer:
> sudo apt-get install portmap nfs-common
>
> Next, I made the dir on the client:
> sudo mkdir /home/fileshare
>
> Here is where I get stuck:
> sudo mount 192.168.0.2:/users/data/fileshare /home/fileshare
> Where 192.168.0.2 is the IP of the server.
> computer responds: access denied by server while mounting.
>
> Thanks for your responses. Any help would be appreciated.
> MatthewMPP
>
>
In addition to the others, my biggest culprits were directory
permissions and the biggy, firewall. Simple but often over looked.
Also, just to be safe, add the -t nfs to your command:
sudo mount -t nfs 192.168.0.2:/users/data/fileshare /home/fileshare
--
Fred R.
www.fwrgallery.com
"Life is like Linux, simple. If you are fighting it, you are doing
something wrong."
More information about the ubuntu-users
mailing list