You are not logged in.

#1 2011-11-06 16:50:42

mandalic
Member
Registered: 2009-11-13
Posts: 43

NFS error - mount.nfs: access denied by server while

OK, I've seen bunch of rants like this one on the Internet(s). It's just that, my NFS setup worked like a charm until this faithful day. All of a sudden, network shares are unreachable, nothing gets mounted, and my friend cannot access shares via M$W7 NFS client (yupp, w7 has support for NFS O_o)

Anyway, this is my /etc/exports

# NFS internal network shares
/home/user/Music	192.168.1.1/24(ro,async,no_subtree_check)
/home/user/Film	192.168.1.1/24(ro,async,no_subtree_check)
/home/user/eBooks	192.168.1.1/24(ro,async,no_subtree_check)
/home/user/Videos	192.168.1.1/24(ro,async,no_subtree_check)
/home/user/packages	192.168.1.1/24(ro,async,no_subtree_check)

# NFS private
/home/user/Pictures	192.168.1.26(ro,async,no_subtree_check)

# shareable stuff (with write permissions)
/home/user/share	192.168.1.1/24(rw,async,no_subtree_check)

hosts.allow

#
# /etc/hosts.allow
#

rpcbind: 192.168.0.100/255.255.255.255

# End of file

hosts.deny

#
# /etc/hosts.deny
#

ALL: ALL

# End of file

Now, after following suggestion from this thread: http://www.linuxforums.org/forum/gentoo … erver.html
I can mount NFS shares from the other Linux (Arch) machine with:

sudo mount -t nfs -o 'vers = 3' 192.168.1.25:/home/user/Film /media/user/Film

But still, it's dirty hack that fixes the job for Linux machine only. And NFS is not working properly after all... any ideas?

EDIT
My mistake, I forgot to add -o 'vers = 3' in the first one. I can't connect with usual way:

sudo mount -t nfs 192.168.1.25:/home/user/Film /media/user/Film

So... any ideas? smile

Last edited by mandalic (2011-11-06 20:24:08)

Offline

#2 2011-11-06 19:25:37

b4data
Member
Registered: 2010-12-14
Posts: 141

Re: NFS error - mount.nfs: access denied by server while

mandalic wrote:

All of a sudden, network shares are unreachable, nothing gets mounted

mandelic wrote:

I can mount NFS shares from the other Linux (Arch) machine with:

sudo mount -t nfs 192.168.1.25:/home/user/Film /media/user/Film

Have you checked your friends Windows setup?

Offline

#3 2011-11-06 20:20:01

mandalic
Member
Registered: 2009-11-13
Posts: 43

Re: NFS error - mount.nfs: access denied by server while

b4data wrote:
mandalic wrote:

All of a sudden, network shares are unreachable, nothing gets mounted

mandelic wrote:

I can mount NFS shares from the other Linux (Arch) machine with:

sudo mount -t nfs 192.168.1.25:/home/user/Film /media/user/Film

Have you checked your friends Windows setup?

Oh, my mistake, sorry! I edited the original post, take a glance on the bold part.

Yepp, it was working like a charm few days ago. I guess that some update messed stuff up. Note that I can't connect from the other Linux machine without specifying

-o 'vers = 3'

.

Offline

Board footer

Powered by FluxBB