Operating System - Linux
1832295 Members
1867 Online
110041 Solutions
New Discussion

Re: autofs client configuration

 
ITO OBII  SYS ADM
New Member

autofs client configuration

i need to view on linux rh72, network shares from other nfs server like /net -hosts on hp-ux and solaris (auto.master file)
2 REPLIES 2
Trever Furnish
Regular Advisor

Re: autofs client configuration

First some notes of caution:
1. I haven't tested this. Was going to but now I'm out of time.

2. This is a guess.

3. Before automounting something, you should make sure you can manually mount it - if that doesn't work, no use trying to automount it, especially at bootup.

4. Always use the intr option and you should probably change the timeout too. I'd suggest these options: intr,timeo=5.

RH72 includes autofs, but the format of the map file isn't the same as for hpux or solaris. They include a commented out /misc entry (as opposed to /net) in /etc/auto.master. It references the file /etc/auto.misc.

Hypothetically, you could uncomment the /misc line in /etc/auto.master and add a line like this:

* -soft,bg,intr,timeo=5 &:/

AFTER the "cd" line.

I'm sure someone else out there has already done this and is a lot more familiar with redhat's autofs implementation, but no one had replied so...

Hope it helps.

You should probably also check google for autofs links, such as this one:
http://www.linux-consulting.com/Amd_AutoFS/autofs.html
Hockey PUX?
ITO OBII  SYS ADM
New Member

Re: autofs client configuration

Sorry but I haven't detail so much; I have already red link at linux-consulting, and some example make a similar function;
the problem is:
Several NFS server export some share

pippo:/export
pluto:/export/shared
paperino:/var

My server need import this share, but with auto.net examples is able to mount only pippo and paperino, it seems that I'm able to mount only first level directory exported but i need a normal automount indipendent from level directory exported (a work around is to make symlink on first level to complex directory, but I don't want touch server with NFS server)

An autofs4 that realized this is under construction by Jeremy Fitzhardinge