hi Brian....

> Let me try to convince you on the direct mount:
> I need to mount all the directories under /usr1/data.

okay...

this is what I would do ( assuming I understood you )
and that the machine is exporting /usr1/data


client# cat /etc/auto.master
        /.autofs /etc/auto.data --timeout 60

client# cat /etc/auto.data
        #
        Data    -fstype=nfs      machine:/usr1/data

client# cd / ; ln -s .autofs/Data Data

-
- restart autofs as needed
-

client# ls -la /Data

and I am done...and should see the contents of machine:/usr1/data/{dir1,dir2,etc}

> If I could have a /- in the auto.master pointed to say auto.data
> /-    auto.data
>  then I could automount this one directory with:
>  data machine:/usr1/data 
> and be done with it.

okay... there is a couple more steps with autofs....but my process
outlined above works for me... as I see everything on any_server:/

> Now I have to put the following in the auto.master 
> /data auto.data
> and then in the auto.data I put 
> dir1  machine:/usr/data/dir1
> dir2  machine:/usr/data/dir2
> .
> .

nah that is NOT necessary...you can if you like but it creates a 
huge mess on both the server and clients

> The benefit of this would be to not having everyone to know all the
> sub-directories under /data or having to guess these. 

if you want to hide directories....you can change group permissions
and or create different export directories

> Of course if someone can point out a better way to do this I'd welcome it.

not necessarily better....just the way I do things...

have fun
alvin

Reply via email to