Hi,
I just set up my first NAS and have some problems with sharing via NFS.
I'm pretty used to work with debian/ubuntu/mint OS as my laptop and desktop system.
However, these are my first steps about NFS sharing... and it really drives me crazy !
I try to access to my nfs shared folders with my linux mint OS and autofs... sometimes it works and sometimes (after reboot and/or writing on it) won't work anymore !
I guess it's due to /etc/auto.nfs (client) and /etc/export (server) options, but I didn't get to a working and stable configuration yet.
Maybe I shoud precise that I'm able to see shared folders (showmount -e), to mount them, but not to access to it (read or write).
Here are some questions which hopefully may help be to go on :
OMV NFS config :
1- Do I have to change the default parameters on OMV (ie insecure, no_subtree_check) ?
2- Do I have to add some more on the server side (anonuid=, anongid=,root_squash,no_root_squash,all_squash) ?
3- Should I restart nfs-kernel-server after changes ?
OMV shared folder config :
4 - What should be priviledges and ACL for owner/group/others for the shared folder ?
5 - What about sub-folders ?
6 - Should I restart nfs-kernel-server or anything else after changes ?
Client autofs config :
7 - Should I specify some options in /etc/auto.nfs (uid,gid...) ?
8 - Should I restart autofs to apply changes ?
Many thanks for your help !
Edit : I've tryed to simplify my setup in order to avoid potential sources of problems. And for now it works...
- I've disabled owncloud and related shared folders
- I've disabled a shared folder containing the one I wanted to access
It looks like this permission issue could be very tricky some times...