All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: Problem with sharing mounted iso
       [not found] <CAF38w7Xx0_TqZem6cen+EJKpUrziGT_dAVcjG7oFFwM+ANm5mA@mail.gmail.com>
@ 2013-07-08 12:47 ` Johan GUILBAUD
  2013-07-08 13:55   ` bjschuma
  2013-07-08 18:39   ` Jeff Layton
  0 siblings, 2 replies; 7+ messages in thread
From: Johan GUILBAUD @ 2013-07-08 12:47 UTC (permalink / raw)
  To: linux-nfs

Hello !

I have a problem to access a mounted ISO through NFS protocol

i have a server (RHEL6) on which are mounted ISOs
i have a lot of client accessing files into ISO via the NFS share

My problem is clients (RHEL5 & 6, Solaris 8 & 10) don't see content of
ISO folder

In example :

on NFS server i have a folder /pub/ where the ISO are mounted (ie :
with the iso mybeautifuliso.iso on the mount point
"/pub/mybeautifuliso/") there are also, for test, text files in /pub/
NFS shares content of /pub


Client see tests text files, and folder "mybeautifuliso" but this one
is empty...


thanks for help

--
GUILBAUD Johan

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

* Re: Problem with sharing mounted iso
  2013-07-08 12:47 ` Fwd: Problem with sharing mounted iso Johan GUILBAUD
@ 2013-07-08 13:55   ` bjschuma
  2013-07-08 18:39   ` Jeff Layton
  1 sibling, 0 replies; 7+ messages in thread
From: bjschuma @ 2013-07-08 13:55 UTC (permalink / raw)
  To: Johan GUILBAUD; +Cc: linux-nfs

(This should have made it to Johan, but I forgot to enable plain text
mode so vger rejected it)

Hi Johan,

Does the server include "crossmnt" in its /etc/exports options for
/pub?  By default, clients aren't able to cross mountpoints in the
export directory.  Including this option should help!

- Bryan

On Mon, Jul 8, 2013 at 8:47 AM, Johan GUILBAUD <guilbaud.johan@gmail.com> wrote:
> Hello !
>
> I have a problem to access a mounted ISO through NFS protocol
>
> i have a server (RHEL6) on which are mounted ISOs
> i have a lot of client accessing files into ISO via the NFS share
>
> My problem is clients (RHEL5 & 6, Solaris 8 & 10) don't see content of
> ISO folder
>
> In example :
>
> on NFS server i have a folder /pub/ where the ISO are mounted (ie :
> with the iso mybeautifuliso.iso on the mount point
> "/pub/mybeautifuliso/") there are also, for test, text files in /pub/
> NFS shares content of /pub
>
>
> Client see tests text files, and folder "mybeautifuliso" but this one
> is empty...
>
>
> thanks for help
>
> --
> GUILBAUD Johan
> --
> 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] 7+ messages in thread

* Re: Problem with sharing mounted iso
  2013-07-08 12:47 ` Fwd: Problem with sharing mounted iso Johan GUILBAUD
  2013-07-08 13:55   ` bjschuma
@ 2013-07-08 18:39   ` Jeff Layton
  2013-07-09  7:59     ` Johan GUILBAUD
  1 sibling, 1 reply; 7+ messages in thread
From: Jeff Layton @ 2013-07-08 18:39 UTC (permalink / raw)
  To: Johan GUILBAUD; +Cc: linux-nfs

On Mon, 8 Jul 2013 14:47:00 +0200
Johan GUILBAUD <guilbaud.johan@gmail.com> wrote:

> Hello !
> 
> I have a problem to access a mounted ISO through NFS protocol
> 
> i have a server (RHEL6) on which are mounted ISOs
> i have a lot of client accessing files into ISO via the NFS share
> 
> My problem is clients (RHEL5 & 6, Solaris 8 & 10) don't see content of
> ISO folder
> 
> In example :
> 
> on NFS server i have a folder /pub/ where the ISO are mounted (ie :
> with the iso mybeautifuliso.iso on the mount point
> "/pub/mybeautifuliso/") there are also, for test, text files in /pub/
> NFS shares content of /pub
> 
> 
> Client see tests text files, and folder "mybeautifuliso" but this one
> is empty...
> 
> 
> thanks for help
> 

Exports don't cross mountpoints by default, so if you exported "/pub"
no filesystem mounted under it will be automatically exported. The best
solution is to explicitly export those filesystems as well -- i.e. add
an export of "/pub/mybeautifuliso". Then, when clients wander into
those directories they should see the contents.

-- 
Jeff Layton <jlayton@redhat.com>

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

* Re: Problem with sharing mounted iso
  2013-07-08 18:39   ` Jeff Layton
@ 2013-07-09  7:59     ` Johan GUILBAUD
  2013-07-09 12:14       ` Myklebust, Trond
  0 siblings, 1 reply; 7+ messages in thread
From: Johan GUILBAUD @ 2013-07-09  7:59 UTC (permalink / raw)
  To: linux-nfs

Thanks for this information Jeff, but i'll have more than one hundred
iso mounted... so adding each in exports... ^^

after tests, it works with Solaris 8 (sunos 5.8) but not with Solaris
10 (sunos 5.10), i don't understand why... i use same command to mount
my share...

 mount [-F nfs] myisoserver:/pub/ /isos

any idea ?

2013/7/8 Jeff Layton <jlayton@redhat.com>:
> On Mon, 8 Jul 2013 14:47:00 +0200
> Johan GUILBAUD <guilbaud.johan@gmail.com> wrote:
>
>> Hello !
>>
>> I have a problem to access a mounted ISO through NFS protocol
>>
>> i have a server (RHEL6) on which are mounted ISOs
>> i have a lot of client accessing files into ISO via the NFS share
>>
>> My problem is clients (RHEL5 & 6, Solaris 8 & 10) don't see content of
>> ISO folder
>>
>> In example :
>>
>> on NFS server i have a folder /pub/ where the ISO are mounted (ie :
>> with the iso mybeautifuliso.iso on the mount point
>> "/pub/mybeautifuliso/") there are also, for test, text files in /pub/
>> NFS shares content of /pub
>>
>>
>> Client see tests text files, and folder "mybeautifuliso" but this one
>> is empty...
>>
>>
>> thanks for help
>>
>
> Exports don't cross mountpoints by default, so if you exported "/pub"
> no filesystem mounted under it will be automatically exported. The best
> solution is to explicitly export those filesystems as well -- i.e. add
> an export of "/pub/mybeautifuliso". Then, when clients wander into
> those directories they should see the contents.
>
> --
> Jeff Layton <jlayton@redhat.com>



-- 
GUILBAUD Johan

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

* Re: Problem with sharing mounted iso
  2013-07-09  7:59     ` Johan GUILBAUD
@ 2013-07-09 12:14       ` Myklebust, Trond
  2013-07-09 12:49         ` Jeff Layton
  0 siblings, 1 reply; 7+ messages in thread
From: Myklebust, Trond @ 2013-07-09 12:14 UTC (permalink / raw)
  To: Johan GUILBAUD; +Cc: linux-nfs

T24gVHVlLCAyMDEzLTA3LTA5IGF0IDA5O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MgYnkgZGVmYXVsdCwgc28g
aWYgeW91IGV4cG9ydGVkICIvcHViIg0KPiA+IG5vIGZpbGVzeXN0ZW0gbW91bnRlZCB1bmRlciBp
dCB3aWxsIGJlIGF1dG9tYXRpY2FsbHkgZXhwb3J0ZWQuIFRoZSBiZXN0DQo+ID4gc29sdXRpb24g
aXMgdG8gZXhwbGljaXRseSBleHBvcnQgdGhvc2UgZmlsZXN5c3RlbXMgYXMgd2VsbCAtLSBpLmUu
IGFkZA0KPiA+IGFuIGV4cG9ydCBvZiAiL3B1Yi9teWJlYXV0aWZ1bGlzbyIuIFRoZW4sIHdoZW4g
Y2xpZW50cyB3YW5kZXIgaW50bw0KPiA+IHRob3NlIGRpcmVjdG9yaWVzIHRoZXkgc2hvdWxkIHNl
ZSB0aGUgY29udGVudHMuDQo+ID4NCj4gPiAtLQ0KPiA+IEplZmYgTGF5dG9uIDxqbGF5dG9uQHJl
ZGhhdC5jb20+DQo+IA0KPiANCj4gDQoNCi0tIA0KVHJvbmQgTXlrbGVidXN0DQpMaW51eCBORlMg
Y2xpZW50IG1haW50YWluZXINCg0KTmV0QXBwDQpUcm9uZC5NeWtsZWJ1c3RAbmV0YXBwLmNvbQ0K
d3d3Lm5ldGFwcC5jb20NCg==

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

* Re: Problem with sharing mounted iso
  2013-07-09 12:14       ` Myklebust, Trond
@ 2013-07-09 12:49         ` Jeff Layton
  2013-07-09 13:13           ` Johan GUILBAUD
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Layton @ 2013-07-09 12:49 UTC (permalink / raw)
  To: Myklebust, Trond; +Cc: Johan GUILBAUD, linux-nfs

On Tue, 9 Jul 2013 12:14:12 +0000
"Myklebust, Trond" <Trond.Myklebust@netapp.com> wrote:

> On Tue, 2013-07-09 at 09:59 +0200, Johan GUILBAUD wrote:
> > Thanks for this information Jeff, but i'll have more than one hundred
> > iso mounted... so adding each in exports... ^^
> > 
> > after tests, it works with Solaris 8 (sunos 5.8) but not with Solaris
> > 10 (sunos 5.10), i don't understand why... i use same command to mount
> > my share...
> > 
> >  mount [-F nfs] myisoserver:/pub/ /isos
> > 
> > any idea ?

Then the crossmnt mount option is probably what you want (as Bryan
pointed out earlier).

> 
> AFAICR, the Solaris 10 client does not support crossing mount points.
> That functionality was added in Solaris 11, as part of the "mirror
> mount" feature:
> 
>   http://docs.oracle.com/cd/E23824_01/html/821-1454/ggcvr.html
> 
> Cheers
>   Trond
> 

Yes, if it works with Solaris 8, it may be the case that it's using
NFSv3 and Solaris 10 is using v4 by default. You may want to try
forcing v3 in the mount options and see if that allows Solaris 10 to
work.

> > 2013/7/8 Jeff Layton <jlayton@redhat.com>:
> > > On Mon, 8 Jul 2013 14:47:00 +0200
> > > Johan GUILBAUD <guilbaud.johan@gmail.com> wrote:
> > >
> > >> Hello !
> > >>
> > >> I have a problem to access a mounted ISO through NFS protocol
> > >>
> > >> i have a server (RHEL6) on which are mounted ISOs
> > >> i have a lot of client accessing files into ISO via the NFS share
> > >>
> > >> My problem is clients (RHEL5 & 6, Solaris 8 & 10) don't see content of
> > >> ISO folder
> > >>
> > >> In example :
> > >>
> > >> on NFS server i have a folder /pub/ where the ISO are mounted (ie :
> > >> with the iso mybeautifuliso.iso on the mount point
> > >> "/pub/mybeautifuliso/") there are also, for test, text files in /pub/
> > >> NFS shares content of /pub
> > >>
> > >>
> > >> Client see tests text files, and folder "mybeautifuliso" but this one
> > >> is empty...
> > >>
> > >>
> > >> thanks for help
> > >>
> > >
> > > Exports don't cross mountpoints by default, so if you exported "/pub"
> > > no filesystem mounted under it will be automatically exported. The best
> > > solution is to explicitly export those filesystems as well -- i.e. add
> > > an export of "/pub/mybeautifuliso". Then, when clients wander into
> > > those directories they should see the contents.
> > >
> > > --
> > > Jeff Layton <jlayton@redhat.com>
> > 
> > 
> > 
> 


-- 
Jeff Layton <jlayton@poochiereds.net>

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

* Re: Problem with sharing mounted iso
  2013-07-09 12:49         ` Jeff Layton
@ 2013-07-09 13:13           ` Johan GUILBAUD
  0 siblings, 0 replies; 7+ messages in thread
From: Johan GUILBAUD @ 2013-07-09 13:13 UTC (permalink / raw)
  To: linux-nfs

yes i have tried with nfsv3 when mounting share on my solaris and it works

thanks Trond for the reason...

I guess Solaris 8 don't know nfsv4 and therefore use nfsv3 :)

Thanks all for help !

Have a good day !

NB : sorry for my "bad" english, i'm french.

2013/7/9 Jeff Layton <jlayton@poochiereds.net>:
> On Tue, 9 Jul 2013 12:14:12 +0000
> "Myklebust, Trond" <Trond.Myklebust@netapp.com> wrote:
>
>> On Tue, 2013-07-09 at 09:59 +0200, Johan GUILBAUD wrote:
>> > Thanks for this information Jeff, but i'll have more than one hundred
>> > iso mounted... so adding each in exports... ^^
>> >
>> > after tests, it works with Solaris 8 (sunos 5.8) but not with Solaris
>> > 10 (sunos 5.10), i don't understand why... i use same command to mount
>> > my share...
>> >
>> >  mount [-F nfs] myisoserver:/pub/ /isos
>> >
>> > any idea ?
>
> Then the crossmnt mount option is probably what you want (as Bryan
> pointed out earlier).
>
>>
>> AFAICR, the Solaris 10 client does not support crossing mount points.
>> That functionality was added in Solaris 11, as part of the "mirror
>> mount" feature:
>>
>>   http://docs.oracle.com/cd/E23824_01/html/821-1454/ggcvr.html
>>
>> Cheers
>>   Trond
>>
>
> Yes, if it works with Solaris 8, it may be the case that it's using
> NFSv3 and Solaris 10 is using v4 by default. You may want to try
> forcing v3 in the mount options and see if that allows Solaris 10 to
> work.
>
>> > 2013/7/8 Jeff Layton <jlayton@redhat.com>:
>> > > On Mon, 8 Jul 2013 14:47:00 +0200
>> > > Johan GUILBAUD <guilbaud.johan@gmail.com> wrote:
>> > >
>> > >> Hello !
>> > >>
>> > >> I have a problem to access a mounted ISO through NFS protocol
>> > >>
>> > >> i have a server (RHEL6) on which are mounted ISOs
>> > >> i have a lot of client accessing files into ISO via the NFS share
>> > >>
>> > >> My problem is clients (RHEL5 & 6, Solaris 8 & 10) don't see content of
>> > >> ISO folder
>> > >>
>> > >> In example :
>> > >>
>> > >> on NFS server i have a folder /pub/ where the ISO are mounted (ie :
>> > >> with the iso mybeautifuliso.iso on the mount point
>> > >> "/pub/mybeautifuliso/") there are also, for test, text files in /pub/
>> > >> NFS shares content of /pub
>> > >>
>> > >>
>> > >> Client see tests text files, and folder "mybeautifuliso" but this one
>> > >> is empty...
>> > >>
>> > >>
>> > >> thanks for help
>> > >>
>> > >
>> > > Exports don't cross mountpoints by default, so if you exported "/pub"
>> > > no filesystem mounted under it will be automatically exported. The best
>> > > solution is to explicitly export those filesystems as well -- i.e. add
>> > > an export of "/pub/mybeautifuliso". Then, when clients wander into
>> > > those directories they should see the contents.
>> > >
>> > > --
>> > > Jeff Layton <jlayton@redhat.com>
>> >
>> >
>> >
>>
>
>
> --
> Jeff Layton <jlayton@poochiereds.net>



--
GUILBAUD Johan

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

end of thread, other threads:[~2013-07-09 13:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAF38w7Xx0_TqZem6cen+EJKpUrziGT_dAVcjG7oFFwM+ANm5mA@mail.gmail.com>
2013-07-08 12:47 ` Fwd: Problem with sharing mounted iso Johan GUILBAUD
2013-07-08 13:55   ` bjschuma
2013-07-08 18:39   ` Jeff Layton
2013-07-09  7:59     ` Johan GUILBAUD
2013-07-09 12:14       ` Myklebust, Trond
2013-07-09 12:49         ` Jeff Layton
2013-07-09 13:13           ` Johan GUILBAUD

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.