Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automount question



> 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 
> /mnts   /etc/auto.mnts
> My /etc/auto.mnts is
> foo    -fstype=nfs,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

I would recommend using direct automount.  It's a new feature in autofs5,
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 do.
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=1200

# Contents of /etc/auto.direct
/any/mount/path  -fstype=nfs,noacl,rw,hard,intr,posix
fileserver:/some/export/path








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org