Hello,
I'm posting this in Offtopic as it's not about a problem with OMV. If a mod thinks it would fit better into the NFS corner, please move it.
I'm running an OMV server and it shares some directories via NFS with other Linux PCs in my LAN. On client side I have one line in /etc/fstab which mounts all subdirectories at once with the correct ro/rw access.
Now I'd like to do the same with my HTPC. Therefore I took some lines from the servers /etc/exports and adapted it to the HTPCs directory structure:
/data/dir1 192.168.178.123(fsid=1,rw,subtree_check,secure)
/data/dir2 192.168.178.1/24(fsid=2,ro,subtree_check,secure,async)
/data 192.168.178.123(ro,fsid=0,root_squash,no_subtree_check,hide)
/data 192.168.178.1/24(ro,fsid=0,root_squash,no_subtree_check,hide)
I try to share /data/dir2 to everybody in this subnet as read-only and /data/dir1 to a specific client as read-write. Unfortunately the OMV one-liner in /etc/fstab doesn't work with the HTPC exports. I have to add another line specifically for /data/dir1. Otherwise it's mounted as ro instead of rw.
So my question is: does OMV do anything more special than this?
What I really want is to share all children of /data as ro but /data/dir1 as rw.