Automount question

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Tue Aug 10 07:37:43 EDT 2010


On 08/09/2010 05:31 PM, Edward Ned Harvey wrote:
>> From: discuss-bounces-mNDKBlG2WHs at public.gmane.org [mailto:discuss-bounces-mNDKBlG2WHs at public.gmane.org] On
>> Behalf Of Jerry Feldman
>>
>> In my auto.master I have=20
>> /mnts   /etc/auto.mnts
>> My /etc/auto.mnts is
>> foo    -fstype=3Dnfs,rw,nosuid  <host0>:/exports/foo
>>
>> This works fine, but for a transition period I will be moving some of
>> foo's subdirectories individually so I want to automount
>> <host1>:/mnts/foo/clients
>>    =20
> I would recommend using direct automount.  It's a new feature in autofs=
5,
> but autofs5 is the default in anything more recent than RHEL4.  Even if=
 you
> have RHEL4, you can install the updated autofs5 package, and I always d=
o.
> Specifically because direct automount is do *darn* much better than the=
 old
> way, you're describing.
>
> Here's an example direct automount config:
>
> # Contents of /etc/auto.master
> /-  /etc/auto.direct --timeout=3D1200
>
> # Contents of /etc/auto.direct
> /any/mount/path  -fstype=3Dnfs,noacl,rw,hard,intr,posix
> fileserver:/some/export/path
>
>
>
>  =20

Thanks Ed, I'll look more closely into this.

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846







More information about the Discuss mailing list