1752701 Members
5748 Online
108789 Solutions
New Discussion юеВ

aufofs - automount ??

 
SOLVED
Go to solution
MikeL_4
Super Advisor

aufofs - automount ??

I am running Red Hat Version 5.3 and have an NFS servers with the following mount points:

/dev/mapper/VGcvoinfs-lvapps
100G 68K 100G 1% /t3appsoftware
/dev/mapper/VGcvoinfs-lvpublic
42G 44K 42G 1% /t3public

I've setup autofs to automount the file systems on the client servers as:

cvoinfs2-p:/t3appsoftware 100G 64K 100G 1% /t3/appsoftware

cvoinfs1-p:/t3public 42G 32K 42G 1% /t3/public

My question is, is there any way to have the autofs setup mount the file systems as the same name as the NFS server has them mounted as ??

i.e.: /t3appsoftware and not as: /t3/appsoftware

2 REPLIES 2
Matti_Kurkela
Honored Contributor
Solution

Re: aufofs - automount ??

The automounter requires one directory level to set up its "sensor". In your case, /t3 is the autofs "sensor" filesystem.

Autofs at the top level would require mounting each directory of the root filesystem through autofs, which would require starting up autofs early in the boot procedure, within the initrd. It's probably possible, but most likely way too much work for changing a small detail.

A simpler solution might be to create some symbolic links:

ln -s /t3/appsoftware /t3appsoftware
ln -s /t3/public /t3public

MK
MK
MikeL_4
Super Advisor

Re: aufofs - automount ??

Thanks