2002-10-31 19:06:46

by Heflin, Roger A.

[permalink] [raw]
Subject: re-exporting: exportfs gives Invalid argument


Re-exporting is not allowed/supported on the kernel nfsd in
linux. Most other versions on Unix also don't support this=20
sort of thing.

Roger


From: "Igor Rychkov" <[email protected]>
To: <[email protected]>
Date: Thu, 31 Oct 2002 20:17:11 +0900
Subject: [NFS] re-exporting: exportfs gives Invalid argument

Hi,
I have the following situation: "A" client of network "N" needs file =3D
access to the "C" server of network "M", and there's "B" with 2 network =
=3D
cards. The computers have RedHat 7.2 or 7.3 installed.

B mounts Cshare on /Bshare/Cshare

B's /etc/exports includes the following lines:

/Bshare A(rw,async,no_subtree_check,no_root_squash)
/Bshare/Cshare A(rw,nohide,async,no_subtree_check,no_root_squash)

then=3D20
B:# exportfs -ra
gives
A.N:/Bshare/Cshare: Invalid argument

Now I remember that one cannot "export a directory and an ancestor of =
=3D
that directory on the same filesystem to any one host". Yes, =3D
/Bshare/Cshare was created as a subdirectory, but wasn't it replaced =3D
when mounting? And isn't the manual requires extra lines in /etc/exports =
=3D
to "nohide" such mounts?

Any hint, please.
Igor




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2002-11-01 04:07:49

by Igor Rychkov

[permalink] [raw]
Subject: RE: re-exporting: exportfs gives Invalid argument



Yes, it appears so. But then, what is that "nohide" option about? I suspect
now that nohide is for _local_ filesystems.
So, how do people solve problems like mine?
Igor

>
>
> Re-exporting is not allowed/supported on the kernel nfsd in
> linux. Most other versions on Unix also don't support this
> sort of thing.
>
> Roger
>
>
> From: "Igor Rychkov" <[email protected]>
> To: <[email protected]>
> Date: Thu, 31 Oct 2002 20:17:11 +0900
> Subject: [NFS] re-exporting: exportfs gives Invalid argument
>
> Hi,
> I have the following situation: "A" client of network "N" needs file =
> access to the "C" server of network "M", and there's "B" with 2 network =
> cards. The computers have RedHat 7.2 or 7.3 installed.
>
> B mounts Cshare on /Bshare/Cshare
>
> B's /etc/exports includes the following lines:
>
> /Bshare A(rw,async,no_subtree_check,no_root_squash)
> /Bshare/Cshare A(rw,nohide,async,no_subtree_check,no_root_squash)
>
> then=20
> B:# exportfs -ra
> gives
> A.N:/Bshare/Cshare: Invalid argument
>
> Now I remember that one cannot "export a directory and an ancestor of =
> that directory on the same filesystem to any one host". Yes, =
> /Bshare/Cshare was created as a subdirectory, but wasn't it replaced =
> when mounting? And isn't the manual requires extra lines in /etc/exports =
> to "nohide" such mounts?
>
> Any hint, please.
> Igor
>
>
>
>




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs