You are not logged in.
I run an nfs server through my localnet but can only connect to it from several Mac devices.
When I try to mount nfs from any linux distro, I get:
mount.nfs4: access denied by server while mounting 192.168.1.141:/home/pawel/Videos
This is my /etc/exports:
# /etc/exports
#
# List of directories exported to NFS clients. See exports(5).
# Use exportfs -arv to reread.
#
# Example for NFSv2 and NFSv3:
# /srv/home hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4 hostname1(rw,sync,fsid=0)
# /srv/nfs4/home hostname1(rw,sync,nohide)
# Using Kerberos and integrity checking:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/home gss/krb5i(rw,sync,nohide)
#
/home/pawel/Videos 192.168.1.1/255.255.255.0(ro,insecure,no_subtree_check)
/home/pawel/Projects 192.168.1.1/255.255.255.0(ro,insecure,no_subtree_check)
/home/pawel/Music 192.168.1.1/255.255.255.0(ro,insecure,no_subtree_check)
/home/pawel/Downloads 192.168.1.1/255.255.255.0(ro,insecure,no_subtree_check)
/home/pawel/Public 192.168.1.1/255.255.255.0(ro,insecure)
I have tried to mount from ubuntu,arch, and gentoo and I receive the same error everytime.
But it still works from OS X.
Last edited by hibajugala (2013-11-29 18:08:42)
Offline
Did you read the NFS wiki page? Works for me.
Last edited by graysky (2013-11-29 09:52:30)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I fixed it by using
mount --bind /home/pawel/Videos /srv/nfs4/Videos
and mounting the srv directory rather than the home. Thanks
Offline
Cool, you should probably mark your thread as solved.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline