You are not logged in.
Just setup NFS, everything is working fine except one issue. I am sharing /mnt, and have another drive mounted to /mnt/Movies. I have setup two shares in /etc/exports for both, but /mnt/Movies does not load unless I remove /mnt, in which case /mnt/Movies works fine.
Is there a workaround for this?
Last edited by regder (2016-04-12 13:51:16)
Offline
Please post your exports file.
Offline
/srv/nfs4/mnt 192.168.1.208(rw,fsid=root,no_subtree_check,insecure)
/srv/nfs4/mnt 192.168.1.134(rw,fsid=root,no_subtree_check,insecure)
/srv/nfs4/mnt/Movies 192.168.1.208(rw,fsid=root,no_subtree_check,insecure)
/srv/nfs4/mnt/Movies 192.168.1.134(rw,fsid=root,no_subtree_check,insecure)
Offline
Since you are already allowing rw access to /mnt, why do you need to specify /mnt/Movies?
Offline
Since you are already allowing rw access to /mnt, why do you need to specify /mnt/Movies?
/mnt/Movies is a different drive than /mnt. If I export /mnt, there is no content in /mnt/Movies. That's why I tried to double export /mnt/Movies in addition to /mnt, still no content though. If I hash out /mnt, /mnt/Movies works fine.
Offline
I see you have fsid=root set for your mounted subdirectories (/mnt/Movies). Is there a reason for this? It's supposed to be unique per-file system export AFAIK. Try removing it, e.g.:
/srv/nfs4/mnt 192.168.1.208(rw,fsid=root,no_subtree_check,insecure)
/srv/nfs4/mnt 192.168.1.134(rw,fsid=root,no_subtree_check,insecure)
/srv/nfs4/mnt/Movies 192.168.1.208(rw,no_subtree_check,insecure)
/srv/nfs4/mnt/Movies 192.168.1.134(rw,no_subtree_check,insecure)
He who has no .plan has small finger.
~Confucius on UNIX.
Offline
I see you have fsid=root set for your mounted subdirectories (/mnt/Movies). Is there a reason for this? It's supposed to be unique per-file system export AFAIK. Try removing it, e.g.:
Tried, but still not working
Noticed that /mnt/Movies belonged to another user and also did not have RW access, changed those two items and it's working now. Weird
Thanks for the all the help!
Last edited by regder (2016-04-01 03:41:06)
Offline
Please mark the thread as solved.
Offline