All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Waychison <Michael.Waychison@Sun.COM>
To: ramana <ramana@intraperson.com>
Cc: autofs@linux.kernel.org, hpa@zytor.com
Subject: Re: exporting autofs managed directory using NFS
Date: Fri, 25 Jun 2004 12:09:12 -0400	[thread overview]
Message-ID: <40DC4E28.6030606@sun.com> (raw)
In-Reply-To: <40DB7F5F.5070500@intraperson.com>

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

      parent reply	other threads:[~2004-06-25 16:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40DC4E28.6030606@sun.com \
    --to=michael.waychison@sun.com \
    --cc=autofs@linux.kernel.org \
    --cc=hpa@zytor.com \
    --cc=ramana@intraperson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.