NFS Question on mounting
Nigel Ridley
nigel at rmk.co.il
Wed Oct 17 15:27:36 UTC 2007
CH wrote:
> I have Dapper on the server, Gutsy on one of the notebooks, and NFS capability
> installed on both, as far as I know. When I attempt to mount a designated
> share, I get errors. Frankly, the syntax has changed since I did this two or
> three years ago --according to what I can remember, that is.
>
> root at laptop:/home/yogich# mount.nfs4 192.168.0.20:/Downloads /media/cdrom0
> mount.nfs4: mount to NFS server '192.168.0.20' failed: System Error:
> Connection refused
>
> root at laptop:/home/yogich# mount.nfs4
> 192.168.0.20:/home/yogi/Downloads /media/cdrom0
> mount.nfs4: mount to NFS server '192.168.0.20' failed: System Error:
> Connection refused
>
> Pointers appreciated. :)
>
This is my fstab entry:
#nfs entry for access to nigels_box
192.168.0.*:/home/nigel /mnt/Home nfs noauto,rw,user,hard,intr 0 0
(all on one line from 192.168.0.*)
NB: The * is just to mask my static ip address (and also below)
I remember that there is something in NFS that doesn't allow root
connections - I always connect as a regular user.
Don't forget you need to have entries in /etc/exports; /etc/hosts and
/etc/hosts.allow on the server:
/etc/exports:
/home/nigel 192.168.0.*(sync,rw,root_squash)
/etc/hosts:
192.168.0.* laptop.family.net laptop
/etc/hosts.allow:
ALL: 192.168.0.*
portmap: 192.168.0.*
lockd: 192.168.0.*
mountd: 192.168.0.*
rquotad: 192.168.0.*
statd: 192.168.0.*
HTH
Also man nfs
Blessings,
Nigel
--
OliveRoot Ministries
http://www.oliveroot.net/
PrayingForIsrael.net
http://www.prayingforisrael.net/
More information about the kubuntu-users
mailing list