You are not logged in.

#1 2016-03-27 16:50:48

regder
Member
Registered: 2013-06-16
Posts: 42

[SOLVED] Issue with loading NFS mount

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

#2 2016-03-28 07:06:50

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Issue with loading NFS mount

Please post your exports file.

Offline

#3 2016-03-30 02:15:14

regder
Member
Registered: 2013-06-16
Posts: 42

Re: [SOLVED] Issue with loading NFS mount

/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

#4 2016-03-30 06:09:07

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Issue with loading NFS mount

Since you are already allowing rw access to /mnt, why do you need to specify /mnt/Movies?

Offline

#5 2016-03-31 02:50:34

regder
Member
Registered: 2013-06-16
Posts: 42

Re: [SOLVED] Issue with loading NFS mount

x33a wrote:

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

#6 2016-03-31 05:43:30

Zancarius
Member
From: NM, USA
Registered: 2012-05-06
Posts: 207

Re: [SOLVED] Issue with loading NFS mount

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

#7 2016-04-01 03:33:19

regder
Member
Registered: 2013-06-16
Posts: 42

Re: [SOLVED] Issue with loading NFS mount

Zancarius wrote:

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

#8 2016-04-01 06:14:18

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Issue with loading NFS mount

Please mark the thread as solved.

Offline

Board footer

Powered by FluxBB