Hey, I got it!

I decided to use autofs4, but I just didn't read auto.net closely enough.  I
found the nonstrict option, which allows skipping mount points that won't
mount.

Thanks for your help,

Forrest


-----Original Message-----
From: Jeremy Fitzhardinge [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 3:31 PM
To: Taylor, ForrestX
Cc: '[EMAIL PROTECTED]'
Subject: Re: Redhat 6.2 autofs and the /net directory


On Mon, Feb 05, 2001 at 11:45:55AM -0800, Taylor, ForrestX wrote:
> I've read the archives, and I have a few questions about the /net
directory.
> I want to auto mount directories in /net under the
> /net/<hostname>/<exports>/<dirs>.  It seems that there is a solution using
> the new autofs4.  I don't _really_ want to do this unless it is very
stable,
> because this is for a production environment, and I am installing machines
> via Kickstart NFS install.  I can patch the kernel and rebuild the rpm (I
> already have to do it for a couple of other programs), but I want to know
if
> there is a solution that I can use with the existing systems
(autofs-3.1.4,
> kernel 2.2.16).

No.  The whole point of doing autofs4 was to enable this feature.
Autofs has been pretty reliable for me and people I know who use it, but
I'd love to get some more feedback.  There are no serious outstanding bugs
(in fact all the bugs are map parsing nits, from memory).

> Can I use the auto.net file from autofs-4?

If you upgrade the automount daemon to 4, you may be able to use it for
hosts which export a single filesystem from / (ie: host:/).  I haven't
tested it, and it's not very useful in practice.  autofs3 won't cope
with auto.net at all.

> Will it work at
> getting the exports/directories from other hosts (BTW must the hosts be in
> /etc/hosts, or can I get them via NIS/NFS?)?

auto.net just looks them up using the resolver, so however you have that
set up (generally DNS).

        J

Reply via email to