1838580 Members
3195 Online
110128 Solutions
New Discussion

autofs problem

 
Soren Morton
Advisor

autofs problem

Using the following entry in /etc/auto_direct:

/opt/maestro / srv1:/export/opt/maestro /mozart srv2:/opt/maestro/mozart /stdlist srv1:/export/opt/maestro/stdlist

The problem is that when I cd to /opt/maestro/mozart and do a "bdf ." I am in /opt/maestro (mounted from srv1) not in /opt/maestro/mozart mounted from srv2 as it should be. If I cd to /opt/maestro/stdlist the mount point works as it should (/opt/maestro/stdlist from srv1). Any ideas of what could cause this? I have already tried stopping nfs.client and rerunning autmount, but no change.
No Egos, No Politics, No Games
3 REPLIES 3
Soren Morton
Advisor

Re: autofs problem

The entry is formatted as follows:

/opt/maestro \n
/ srv1:/export/opt/maestro \n
/mozart srv2:/opt/maestro/mozart \n
/stdlist srv1:/export/opt/maestro/stdlist \n
No Egos, No Politics, No Games
Animesh Chakraborty
Honored Contributor

Re: autofs problem

hi,
/opt/maestro / srv1:/export/opt/maestro /mozart

Please notice that you have space before /mozart(typo error)

edit the file and try again :)

best of luck
Animesh

Did you take a backup?
Soren Morton
Advisor

Re: autofs problem

Ended up stopping ALL nfs daemons with nfs.client stop, nfs.server stop and nfs.core stop after unmounting everything.

Started all nfs daemons back up did a mount -a. All worked well after doing this, but had to stop apps, etc. that used the nfs mounts.

Still don't know what the cause was.
No Egos, No Politics, No Games