Unable to write to NFS mounts

Status
Not open for further replies.

ggoosen

Dabbler
Joined
Aug 21, 2017
Messages
21
HI

I have
Build FreeNAS-11.0-U2 (e417d8aa5)
Platform Intel(R) Xeon(R) CPU X5560 @ 2.80GHz
Memory 16346MB
System Time Wed Aug 23 19:00:33 ACST 2017
Uptime 7:00PM up 1:40, 0 users
Load Average 0.00, 0.06, 0.07


I created an NFS share and mounted it on another linux machine (ubuntu)

After mounting the NFS share, i can see it mounted, but i cannot write to it.

Checking permissions i can see that the new mount is owned (testFNas4) by "nobody"

ggoosen@ubuntu:/mnt$ ls -ltra
total 9
drwxrwxr-x 4 nobody 4294967294 5 Aug 21 20:44 testFNas4
drwxr-xr-x 23 root root 4096 Aug 23 11:23 ..
drwxr-xr-x 4 root root 4096 Aug 23 12:16 .
drwxrwxrwx+ 1 99 99 176 Aug 23 17:22 testNAS

testNas is an NFS mount from my readynas server.
 

ggoosen

Dabbler
Joined
Aug 21, 2017
Messages
21
FYI to anyone reading this... this problem is unique to freenas (or the config i have with freenas)

I have now tested with openmediavault and that works fine as well
ggoosen@ubuntu:/mnt$ ls -ltra
total 13
drwxrwxr-x 4 nobody 4294967294 5 Aug 21 20:44 testFNas4
drwxr-xr-x 23 root root 4096 Aug 23 11:23 ..
drwxrwxrwx+ 1 99 99 180 Aug 23 20:28 testNAS
drwxrwsrwx 3 root users 4096 Aug 24 10:02 openmediaTest
drwxr-xr-x 5 root root 4096 Aug 24 10:05 .
 

scrappy

Patron
Joined
Mar 16, 2017
Messages
347
Can't say that I have a problem with NFS shares connected to my Ubuntu VM. I use my VM for Zoneminder IP cam surveillance storage. Both, FreeNAS and Ubuntu share the same user & group www-data with matching UID/GIDs (I created them on FreeNAS to reflect Ubuntu's user/group name & ID). I figure if both systems see that user and group the same (because UID/GIDs match), then read/write won't be an issue which it isn't for me.
 

ggoosen

Dabbler
Joined
Aug 21, 2017
Messages
21
Can't say that I have a problem with NFS shares connected to my Ubuntu VM. I use my VM for Zoneminder IP cam surveillance storage. Both, FreeNAS and Ubuntu share the same user & group www-data with matching UID/GIDs (I created them on FreeNAS to reflect Ubuntu's user/group name & ID). I figure if both systems see that user and group the same (because UID/GIDs match), then read/write won't be an issue which it isn't for me.
I wonder if this issue has to do with the users and groups i've setup
 
Status
Not open for further replies.
Top