Cant get to export this particular directory.
Subsystems (2)
Hi.
I'm trying to export a particular directory with these parameters --
/home/test/huge/temp_small/subdir fc00::5000/124(ro,anonuid=1000,anongid=1000,subtree_check)
For all subdirectories in temp_small, the client fails to mount saying permission denied.
mount.nfs: access denied by server while mounting.....
For any other place it works.
And because rpc.mountd has no logging features, I got no idea what's happening.
Le Wed, 04 Feb 2015 20:45:49 +0530
dE <[email protected]> écrivait:
Quoted 7 lines
I'm trying to export a particular directory with these parameters --
/home/test/huge/temp_small/subdirfc00::5000/124(ro,anonuid=1000,anongid=1000,subtree_check)For all subdirectories in
temp_small, the client fails to mount saying permission denied.
Is temp_small a mountpoint? What are the mount options?
Signature · 6 lines
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <[email protected]>
| +33 1 78 94 84 02
------------------------------------------------------------------------Quoted 12 lines · Emmanuel Florac
Le Wed, 04 Feb 2015 20:45:49 +0530
dE <[email protected]> écrivait:Quoted 7 lines
I'm trying to export a particular directory with these parameters --
/home/test/huge/temp_small/subdirfc00::5000/124(ro,anonuid=1000,anongid=1000,subtree_check)For all subdirectories in
temp_small, the client fails to mount saying permission denied.Is
temp_smalla mountpoint? What are the mount options?
No, the previous directory is (huge)
/dev/sda15 on /home/test/huge type reiser4 (rw,noatime)
Le Wed, 04 Feb 2015 21:38:35 +0530
dE <[email protected]> écrivait:
Quoted 3 lines
No, the previous directory is (huge)
/dev/sda15on/home/test/hugetype reiser4 (rw,noatime)
And does exporting from some other place in the same filesystem (/home/test/huge/whatever) work ?
I suppose reiser4 is 64 bits. what's the inode number of /home/test/huge/temp_small/subdir ?
I've seen problems on some systems mounting inodes with large (not 32 bits compatible) numbers.
Another problem I've seen was when mixing clients with 3.8 kernel and servers with 3.2 kernels.
Signature · 6 lines
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <[email protected]>
| +33 1 78 94 84 02
------------------------------------------------------------------------Quoted 9 lines · Emmanuel Florac
Le Wed, 04 Feb 2015 21:38:35 +0530
dE <[email protected]> écrivait:Quoted 3 lines
No, the previous directory is (huge)
/dev/sda15on/home/test/hugetype reiser4 (rw,noatime)And does exporting from some other place in the same filesystem (
/home/test/huge/whatever) work ?
Quoted 8 lines
I suppose reiser4 is 64 bits. what's the inode number of
/home/test/huge/temp_small/subdir?
I've seen problems on some systems mounting inodes with large (not 32 bits compatible) numbers.Another problem I've seen was when mixing clients with 3.8 kernel and servers with 3.2 kernels.
No. For any directory it doesn't work.
There is a stranger behavior. If I mount the parent directory of the export like /home/test/huge/temp_small or /home/test/huge (when /home/test/huge/whatever is exported), it mounts and only the exported directory is accessible/seen. However all_squash flag does not appear to be working with /home/test/huge/temp_small; I cant access /home/test/huge/temp_small/subdir as root.
But it appears to be working for localhost.
The inodes are 32 bit. e.g. 297618, 264250, 280589 etc...
On one end I'm running the server on 3.17 and the client on 3.10.
Hi,
are you sure that your clients mount with ipv6 (as your export ipv6 only)?
Tigran.
----- Original Message -----
Quoted 25 lines
From: "dE" <[email protected]>
To: [email protected]
Sent: Wednesday, February 4, 2015 4:15:49 PM
Subject: Cant get to export this particular directory.Hi.
I'm trying to export a particular directory with these parameters --
/home/test/huge/temp_small/subdirfc00::5000/124(ro,anonuid=1000,anongid=1000,subtree_check)For all subdirectories in
temp_small, the client fails to mount saying permission denied.mount.nfs: access denied by server while mounting.....
For any other place it works.
And because rpc.mountd has no logging features, I got no idea what's happening.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · dE
Quoted 8 lines · Emmanuel Florac
Le Wed, 04 Feb 2015 20:45:49 +0530
dE <[email protected]> écrivait:Quoted 5 lines
I'm trying to export a particular directory with these parameters --
/home/test/huge/temp_small/subdirfc00::5000/124(ro,anonuid=1000,anongid=1000,subtree_check)
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
For all subdirectories in
temp_small, the client fails to mount saying permission denied.Is
temp_smalla mountpoint? What are the mount options?No, the previous directory is (huge)
/dev/sda15on/home/test/hugetype reiser4 (rw,noatime)
Sorry if this is a stupid question, but what is "reiser4" filesystem ?
Looking at the Kernel source I have, I see registered "reiserfs" filesystem.
Reason I'm asking is because it looks a little bit like when the FS does not support the export_operations vector. The Kernel nfsd is not very good in complaining about it properly
Boaz
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
----- Original Message -----
Quoted 22 lines
From: "Boaz Harrosh" <[email protected]>
To: "dE" <[email protected]>, [email protected]
Sent: Thursday, February 5, 2015 11:58:00 AM
Subject: Re: Cant get to export this particular directory.Quoted 16 lines · dE
Quoted 12 lines · Emmanuel Florac
Le Wed, 04 Feb 2015 20:45:49 +0530
dE <[email protected]> écrivait:Quoted 7 lines
I'm trying to export a particular directory with these parameters --
/home/test/huge/temp_small/subdirfc00::5000/124(ro,anonuid=1000,anongid=1000,subtree_check)For all subdirectories in
temp_small, the client fails to mount saying permission denied.Is
temp_smalla mountpoint? What are the mount options?No, the previous directory is (huge)
Quoted 8 lines
Quoted 1 line
/dev/sda15on/home/test/hugetype reiser4 (rw,noatime)Sorry if this is a stupid question, but what is "reiser4" filesystem ?
Looking at the Kernel source I have, I see registered "reiserfs" filesystem.
Reason I'm asking is because it looks a little bit like when the FS does not support the
export_operationsvector. The Kernel nfsd is not very good
Then this does not explain why mounting on a local host works.
Tigran.
Quoted 14 lines
in complaining about it properly
Boaz
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Tigran
Quoted 2 lines
Reason I'm asking is because it looks a little bit like when the FS does not support the
export_operationsvector. The Kernel nfsd is not very goodThen this does not explain why mounting on a local host works.
Hard to guestimate over weird out of tree code. If this is reproducible with an in tree filesystem someone might have a chance to understand it.