Skip to contentSkip to conversation

exporting autofs managed directory using NFS

DISCUSSION ramana 4 participants 7 messages Jun 24, 2004 – Jun 25, 2004 Kernel automounter

lore
Share & tools
lore

ramana

author
#0 lore raw

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.

Signature · 1 line
http://www.intraperson.com
#1 lore raw

==> Regarding [autofs] exporting autofs managed directory using NFS; ramana <[email protected]> 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

author
#2 lore raw
Quoted 10 lines · Jeff Moyer

==> Regarding [autofs] exporting autofs managed directory using NFS; ramana <[email protected]> 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.

Quoted 9 lines

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

Signature · 1 line
http://www.intraperson.com
author
#3 lore raw
In reply to Jeff Moyer
Quoted 10 lines · Jeff Moyer

==> Regarding [autofs] exporting autofs managed directory using NFS; ramana <[email protected]> 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.

Quoted 9 lines

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

Signature · 1 line
http://www.intraperson.com
author
#4 lore raw
Quoted 10 lines
Quoted 2 lines

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

Signature · 1 line
http://www.intraperson.com
#5 lore raw
Quoted 9 lines · ramana
Quoted 9 lines
Quoted 2 lines

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

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

Quoted 6 lines
Quoted 2 lines

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

#6 lore raw
In reply to ramana

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

Quoted 25 lines · ramana
Quoted 12 lines · Jeff Moyer

==> Regarding [autofs] exporting autofs managed directory using NFS; ramana <[email protected]> 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.

Quoted 9 lines

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

-Jeff

.

Quoted 6 lines

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