You are not logged in.

#1 2012-12-16 04:18:59

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

[SOLVED] NFS mounted share "not accessible"

I went with NFS instead of Samba since the setup seems to be simpler. However on the client side when I try to access a mounted share it tells me that is "not accessible." There is a nobody user on both computers so I chowned all affected directories to nobody:nobody but I still can't access it, and if I enter ls -l on the directory it just gives me question marks...making me think it is somehow corrupted?

Last edited by felixculpa (2012-12-16 18:35:51)

Offline

#2 2012-12-16 10:43:03

seahawk1986
Member
Registered: 2012-12-16
Posts: 6

Re: [SOLVED] NFS mounted share "not accessible"

What version of nfs does your server use? If it is NFSv3 have a look at https://wiki.archlinux.org/index.php/NF … the_client - you might need to run the rpc-statd service on your client, too.

Offline

#3 2012-12-16 18:34:51

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Re: [SOLVED] NFS mounted share "not accessible"

I figured out the problem, I had copy and pasted a line from the wiki twice into my 'exports' config, but they are not supposed to both have the option fsid=0 as that points out the root. I took that out and restarted the server and it now mounts perfectly.

/etc/exports
# Example for NFSv4:
/srv/nfs4 192.168.0.1/24(rw,fsid=0,no_subtree_check)
/srv/nfs4/Shares 192.168.0.1/24(rw,fsid=0,no_subtree_check)

On a related note, I am unsure what exactly to put in the Domain = section in /etc/idmapd.conf, it doesn't seem to matter what I put there. For now I just have localdomain in the field.

Last edited by felixculpa (2012-12-16 18:35:09)

Offline

Board footer

Powered by FluxBB