All of lore.kernel.org
 help / color / mirror / Atom feed
* Cant get to export this particular directory.
@ 2015-02-04 15:15 dE
  2015-02-04 16:03 ` Emmanuel Florac
  2015-02-05  7:31 ` Mkrtchyan, Tigran
  0 siblings, 2 replies; 9+ messages in thread
From: dE @ 2015-02-04 15:15 UTC (permalink / raw)
  To: linux-nfs

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cant get to export this particular directory.
  2015-02-04 15:15 Cant get to export this particular directory dE
@ 2015-02-04 16:03 ` Emmanuel Florac
  2015-02-04 16:08   ` dE
  2015-02-05  7:31 ` Mkrtchyan, Tigran
  1 sibling, 1 reply; 9+ messages in thread
From: Emmanuel Florac @ 2015-02-04 16:03 UTC (permalink / raw)
  To: dE; +Cc: linux-nfs

Le Wed, 04 Feb 2015 20:45:49 +0530
dE <de.techno@gmail.com> écrivait:

> 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.

Is temp_small a mountpoint? What are the mount options?

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cant get to export this particular directory.
  2015-02-04 16:03 ` Emmanuel Florac
@ 2015-02-04 16:08   ` dE
  2015-02-04 16:30     ` Emmanuel Florac
  2015-02-05 10:58     ` Boaz Harrosh
  0 siblings, 2 replies; 9+ messages in thread
From: dE @ 2015-02-04 16:08 UTC (permalink / raw)
  To: linux-nfs

On 02/04/15 21:33, Emmanuel Florac wrote:
> Le Wed, 04 Feb 2015 20:45:49 +0530
> dE <de.techno@gmail.com> écrivait:
>
>> 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.
> Is temp_small a mountpoint? What are the mount options?
>

No, the previous directory is (huge)

/dev/sda15 on /home/test/huge type reiser4 (rw,noatime)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cant get to export this particular directory.
  2015-02-04 16:08   ` dE
@ 2015-02-04 16:30     ` Emmanuel Florac
  2015-02-05  2:34       ` dE
  2015-02-05 10:58     ` Boaz Harrosh
  1 sibling, 1 reply; 9+ messages in thread
From: Emmanuel Florac @ 2015-02-04 16:30 UTC (permalink / raw)
  To: dE; +Cc: linux-nfs

Le Wed, 04 Feb 2015 21:38:35 +0530
dE <de.techno@gmail.com> écrivait:

> No, the previous directory is (huge)
> 
> /dev/sda15 on /home/test/huge type 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.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cant get to export this particular directory.
  2015-02-04 16:30     ` Emmanuel Florac
@ 2015-02-05  2:34       ` dE
  0 siblings, 0 replies; 9+ messages in thread
From: dE @ 2015-02-05  2:34 UTC (permalink / raw)
  To: linux-nfs

On 02/04/15 22:00, Emmanuel Florac wrote:
> Le Wed, 04 Feb 2015 21:38:35 +0530
> dE <de.techno@gmail.com> écrivait:
>
>> No, the previous directory is (huge)
>>
>> /dev/sda15 on /home/test/huge type 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.
>

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cant get to export this particular directory.
  2015-02-04 15:15 Cant get to export this particular directory dE
  2015-02-04 16:03 ` Emmanuel Florac
@ 2015-02-05  7:31 ` Mkrtchyan, Tigran
  1 sibling, 0 replies; 9+ messages in thread
From: Mkrtchyan, Tigran @ 2015-02-05  7:31 UTC (permalink / raw)
  To: dE; +Cc: linux-nfs

Hi,


are you sure that your clients mount with ipv6 (as your export ipv6 only)?

Tigran.

----- Original Message -----
> From: "dE" <de.techno@gmail.com>
> To: linux-nfs@vger.kernel.org
> 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/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.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cant get to export this particular directory.
  2015-02-04 16:08   ` dE
  2015-02-04 16:30     ` Emmanuel Florac
@ 2015-02-05 10:58     ` Boaz Harrosh
  2015-02-05 12:00       ` Mkrtchyan, Tigran
  1 sibling, 1 reply; 9+ messages in thread
From: Boaz Harrosh @ 2015-02-05 10:58 UTC (permalink / raw)
  To: dE, linux-nfs

On 02/04/2015 06:08 PM, dE wrote:
> On 02/04/15 21:33, Emmanuel Florac wrote:
>> Le Wed, 04 Feb 2015 20:45:49 +0530
>> dE <de.techno@gmail.com> écrivait:
>>
>>> 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.
>> Is temp_small a mountpoint? What are the mount options?
>>
> 
> No, the previous directory is (huge)
> 
> /dev/sda15 on /home/test/huge type 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

> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cant get to export this particular directory.
  2015-02-05 10:58     ` Boaz Harrosh
@ 2015-02-05 12:00       ` Mkrtchyan, Tigran
  2015-02-05 14:05         ` Christoph Hellwig
  0 siblings, 1 reply; 9+ messages in thread
From: Mkrtchyan, Tigran @ 2015-02-05 12:00 UTC (permalink / raw)
  To: Boaz Harrosh; +Cc: dE, linux-nfs



----- Original Message -----
> From: "Boaz Harrosh" <boaz@plexistor.com>
> To: "dE" <de.techno@gmail.com>, linux-nfs@vger.kernel.org
> Sent: Thursday, February 5, 2015 11:58:00 AM
> Subject: Re: Cant get to export this particular directory.

> On 02/04/2015 06:08 PM, dE wrote:
>> On 02/04/15 21:33, Emmanuel Florac wrote:
>>> Le Wed, 04 Feb 2015 20:45:49 +0530
>>> dE <de.techno@gmail.com> écrivait:
>>>
>>>> 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.
>>> Is temp_small a mountpoint? What are the mount options?
>>>
>> 
>> No, the previous directory is (huge)
>> 
>> /dev/sda15 on /home/test/huge type 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

Then this does not explain why mounting on a local host works.

Tigran.

> in complaining about it properly
> 
> Boaz
> 
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>> the body of a message to majordomo@vger.kernel.org
>> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cant get to export this particular directory.
  2015-02-05 12:00       ` Mkrtchyan, Tigran
@ 2015-02-05 14:05         ` Christoph Hellwig
  0 siblings, 0 replies; 9+ messages in thread
From: Christoph Hellwig @ 2015-02-05 14:05 UTC (permalink / raw)
  To: Mkrtchyan, Tigran; +Cc: Boaz Harrosh, dE, linux-nfs

On Thu, Feb 05, 2015 at 01:00:08PM +0100, Mkrtchyan, Tigran wrote:
> > 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
> 
> Then 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-05 14:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 15:15 Cant get to export this particular directory dE
2015-02-04 16:03 ` Emmanuel Florac
2015-02-04 16:08   ` dE
2015-02-04 16:30     ` Emmanuel Florac
2015-02-05  2:34       ` dE
2015-02-05 10:58     ` Boaz Harrosh
2015-02-05 12:00       ` Mkrtchyan, Tigran
2015-02-05 14:05         ` Christoph Hellwig
2015-02-05  7:31 ` Mkrtchyan, Tigran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.