View previous topic :: View next topic |
Author |
Message |
linux_matt Tux's lil' helper

Joined: 14 May 2012 Posts: 103
|
Posted: Sun Sep 16, 2012 8:51 am Post subject: Cannot write to NFS share |
|
|
I have an issue trying to get an NFS share writeable. Even if I chmod 777 a file on the server side on the client side it reports file system as read only
Server fstab has:
/dev/sda4 / ext4 noatime,rw 0 1 # contains home directory
/etc/exports has:
/home/joebloggs/photos 192.168.1.75 (async,rw,no_subtree_check,no_root_squash)
uid and gid is the same on server and client:
uid=1000(joebloggs) gid=100(users) groups=100(users),10(wheel) [server]
uid=1000(joebloggs) gid=100(users) groups=100(users),10(wheel),1000(roro) [client]
fstab on client:
192.168.1.75:/home/joebloggs/photos /home/joebloggs/photos nfs rw,user,uid=1000,gid=100 0 0
photos directory on client shows that the owner of the files is joebloggs in the users group
client always reports that filesystem is read-only. Any suggestions? can't think of anything else! |
|
Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sun Sep 16, 2012 12:40 pm Post subject: |
|
|
linux_matt,
I'm confused with your client mount point Try moving it to /mnt/remote as in:
Code: | 192.168.1.75:/home/joebloggs/photos /mnt/remote/joebloggs/photos nfs defaults 0 0 |
chown /mnt/remote/ joebloggs:joebloggs _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
Back to top |
|
 |
linux_matt Tux's lil' helper

Joined: 14 May 2012 Posts: 103
|
Posted: Sun Sep 16, 2012 3:30 pm Post subject: |
|
|
BillWho, thank you for responding. I carried on working away at this and in the end the problem seemed to be on the server side as I've managed to crack it. I changed /etc/exports to allow the file system from root downwards to be available rw and that made the specific directory writeable. The reason for having the exact directory the same is that I am using the using the Cinelerra render farm -- I think this is a requirement, at least it now works the way I have set it up. Once again, thanks for responding
BillWho wrote: | linux_matt,
I'm confused with your client mount point Try moving it to /mnt/remote as in:
Code: | 192.168.1.75:/home/joebloggs/photos /mnt/remote/joebloggs/photos nfs defaults 0 0 |
chown /mnt/remote/ joebloggs:joebloggs |
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|