All of lore.kernel.org
 help / color / mirror / Atom feed
* exporting autofs managed directory using NFS
@ 2004-06-24 13:55 ramana
  2004-06-24 19:19 ` Jeff Moyer
  0 siblings, 1 reply; 7+ messages in thread
From: ramana @ 2004-06-24 13:55 UTC (permalink / raw)
  To: autofs, hpa


We are facing problems where /home is managed by autofs ( in Autodir ) 
but this directory is to to be exported using NFS.

Exactly reverse of what autofs supposed to do  -- lol

When tried to mount nfs exported home some where else, Persmission 
denied error is reported by nfs server.

-- 
http://www.intraperson.com

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

* Re: exporting autofs managed directory using NFS
  2004-06-24 13:55 exporting autofs managed directory using NFS ramana
@ 2004-06-24 19:19 ` Jeff Moyer
  2004-06-25  1:15   ` ramana
  2004-06-25  1:26   ` ramana
  0 siblings, 2 replies; 7+ messages in thread
From: Jeff Moyer @ 2004-06-24 19:19 UTC (permalink / raw)
  To: ramana; +Cc: autofs, hpa

==> Regarding [autofs] exporting autofs managed directory using NFS; ramana <ramana@intraperson.com> adds:

ramana> We are facing problems where /home is managed by autofs ( in
ramana> Autodir ) but this directory is to to be exported using NFS.

ramana> Exactly reverse of what autofs supposed to do -- lol

ramana> When tried to mount nfs exported home some where else, Persmission
ramana> denied error is reported by nfs server.

Are you saying you want to reexport an nfs mounted filesystem?  I don't
believe that is supported.

-Jeff

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

* Re: exporting autofs managed directory using NFS
  2004-06-24 19:19 ` Jeff Moyer
@ 2004-06-25  1:15   ` ramana
  2004-06-25  1:26   ` ramana
  1 sibling, 0 replies; 7+ messages in thread
From: ramana @ 2004-06-25  1:15 UTC (permalink / raw)
  To: jmoyer; +Cc: autofs, hpa

Jeff Moyer wrote:

>==> Regarding [autofs] exporting autofs managed directory using NFS; ramana <ramana@intraperson.com> adds:
>
>ramana> We are facing problems where /home is managed by autofs ( in
>ramana> Autodir ) but this directory is to to be exported using NFS.
>
>ramana> Exactly reverse of what autofs supposed to do -- lol
>
>ramana> When tried to mount nfs exported home some where else, Persmission
>ramana> denied error is reported by nfs server.
>
>Are you saying you want to reexport an nfs mounted filesystem?  I don't
>believe that is supported.
>
>-Jeff
>
>.
>
>  
>


No. Autodir do mount local directories only on autofs mounted fs.

In simple terms, exporting this special case autofs mounted dir using nfs.

Please check http://www.intraperson.com/autodir.html

-- 
http://www.intraperson.com

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

* Re: exporting autofs managed directory using NFS
  2004-06-24 19:19 ` Jeff Moyer
  2004-06-25  1:15   ` ramana
@ 2004-06-25  1:26   ` ramana
  2004-06-25 14:32     ` ramana
  2004-06-25 16:09     ` Mike Waychison
  1 sibling, 2 replies; 7+ messages in thread
From: ramana @ 2004-06-25  1:26 UTC (permalink / raw)
  To: jmoyer; +Cc: autofs, hpa

Jeff Moyer wrote:

>==> Regarding [autofs] exporting autofs managed directory using NFS; ramana <ramana@intraperson.com> adds:
>
>ramana> We are facing problems where /home is managed by autofs ( in
>ramana> Autodir ) but this directory is to to be exported using NFS.
>
>ramana> Exactly reverse of what autofs supposed to do -- lol
>
>ramana> When tried to mount nfs exported home some where else, Persmission
>ramana> denied error is reported by nfs server.
>
>Are you saying you want to reexport an nfs mounted filesystem?  I don't
>believe that is supported.
>
>-Jeff
>
>.
>
>  
>


No. Autodir do mount local directories only on autofs mounted fs.

In simple terms, exporting this special case autofs mounted dir using nfs.

Please check http://www.intraperson.com/autodir.html

-- 
http://www.intraperson.com

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

* Re: exporting autofs managed directory using NFS
  2004-06-25  1:26   ` ramana
@ 2004-06-25 14:32     ` ramana
  2004-06-25 14:55       ` raven
  2004-06-25 16:09     ` Mike Waychison
  1 sibling, 1 reply; 7+ messages in thread
From: ramana @ 2004-06-25 14:32 UTC (permalink / raw)
  To: autofs; +Cc: hpa


>>
>
>
> No. Autodir do mount local directories only on autofs mounted fs.
>
> In simple terms, exporting this special case autofs mounted dir using 
> nfs.
>
> Please check http://www.intraperson.com/autodir.html
>
I suspect and almost sure that this problem is because of  'The "magic" 
process group'.

Any comments?

Regards
ramana

-- 
http://www.intraperson.com

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

* Re: exporting autofs managed directory using NFS
  2004-06-25 14:32     ` ramana
@ 2004-06-25 14:55       ` raven
  0 siblings, 0 replies; 7+ messages in thread
From: raven @ 2004-06-25 14:55 UTC (permalink / raw)
  To: ramana; +Cc: autofs, hpa

On Fri, 25 Jun 2004, ramana wrote:

> 
> >>
> >
> >
> > No. Autodir do mount local directories only on autofs mounted fs.
> >
> > In simple terms, exporting this special case autofs mounted dir using 
> > nfs.
> >
> > Please check http://www.intraperson.com/autodir.html
> >
> I suspect and almost sure that this problem is because of  'The "magic" 
> process group'.
> 
> Any comments?

Example please?

Ian

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

* Re: exporting autofs managed directory using NFS
  2004-06-25  1:26   ` ramana
  2004-06-25 14:32     ` ramana
@ 2004-06-25 16:09     ` Mike Waychison
  1 sibling, 0 replies; 7+ messages in thread
From: Mike Waychison @ 2004-06-25 16:09 UTC (permalink / raw)
  To: ramana; +Cc: autofs, hpa

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ramana wrote:
> Jeff Moyer wrote:
>
>> ==> Regarding [autofs] exporting autofs managed directory using NFS;
>> ramana <ramana@intraperson.com> adds:
>>
>> ramana> We are facing problems where /home is managed by autofs ( in
>> ramana> Autodir ) but this directory is to to be exported using NFS.
>>
>> ramana> Exactly reverse of what autofs supposed to do -- lol
>>
>> ramana> When tried to mount nfs exported home some where else,
>> Persmission
>> ramana> denied error is reported by nfs server.
>>
>> Are you saying you want to reexport an nfs mounted filesystem?  I don't
>> believe that is supported.
>>
>> -Jeff
>>
>> .
>>
>>
>>
>
>
> No. Autodir do mount local directories only on autofs mounted fs.
>
> In simple terms, exporting this special case autofs mounted dir using nfs.
>
> Please check http://www.intraperson.com/autodir.html
>

The kernel nfs server doesn't export across mountpoints by default.  You
may try using the nohide option, but it has limitations (like the fact
that it must be a single host export).

I suspect that the kernel nfsd may have issues trying to export an
autofs imported fs, so I'd try the userspace nfs server.

What I don't understand is why don't you run an automounter on the other
host and have nis maps that point to the respective home dir locations?

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA3E4mdQs4kOxk3/MRAiSNAKCaWriyC3sk1DVkSoEpEb3bF2AxXwCcDafZ
l+XMvtrgyEY8OjM87jH6EWM=
=H3Lq
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2004-06-25 16:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-24 13:55 exporting autofs managed directory using NFS ramana
2004-06-24 19:19 ` Jeff Moyer
2004-06-25  1:15   ` ramana
2004-06-25  1:26   ` ramana
2004-06-25 14:32     ` ramana
2004-06-25 14:55       ` raven
2004-06-25 16:09     ` Mike Waychison

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.