1834149 Members
2807 Online
110064 Solutions
New Discussion

New automount

 
Tarek
Super Advisor

New automount

Actually i'm using the old automount. I want to configure the new one. The entry in my /etc/rc.config.d/nfsconf is:
AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
START_MOUNTD=1
AUTOFS+1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""
My /etc/auto_master is:
/net -hosts -hard -timeo=14 -retry=3 -rsize=4096 -wsize=4096
When i stop and start the nfs.client i have this message:
Trying to start AUTOFS but the old Automounter may still be running. Stop the old automount daemon before starting AutoFS
How can i enable the new autofs??
If i use the new autofs and the other client/servers in my network use the old automount do i have problem in mounting them or viceversa??
thanks
7 REPLIES 7
Brian Hackley
Honored Contributor

Re: New automount

Tarek,

You probably still have an automount PID running. ps -ef|grep automount and also grep pid /etc/mnttab to verify.

Your nfsconf file looks fine, so you can REBOOT and that will get AutoFS going. Grep net /etc/mnttab and verify that indeed it is
set up the way you want it to be.

Hope this helps,

-> Brian Hackley
Ask me about telecommuting!
Tarek
Super Advisor

Re: New automount

In the mnttab i have this entry:
gehp180:(pid714) /net ignore ro,intr,port=890,map=-hosts,indirect,dev=0000 0 0 985950178
i tried to kill pid714 but i have the output no such process...
Tarek
Super Advisor

Re: New automount

When i tried to stop and start the nfs.client i had the following warning message:
................
starting up the AutoFS daemon
/usr/lib/netsvc/fs/autofs/automountd
Running the AutoFS command interface
/usr/sbin/automount
automount: Warning: invalid entry for /net in /etc/auto_master ignored.
automount: Warning: invalid entry for /net in NIS map auto_master ignored.
FAILURE CODE: 3
mounting remote NFS file systems ...
starting NFS SERVER networking
............................
Tarek
Super Advisor

Re: New automount

Now maybe it is working.. the automount running is:
/usr/lib/netsvc/fs/autofs/autmountd
if i try to mount a directory now i can..but i have a strange entry in the /etc/mnttab:
-hosts /net autofs ignore,indirect, 0 0 986292035
i have modified the /etc/auto_master:
/net -hosts nosuid
is it all ok??
Tarek
Super Advisor

Re: New automount

Can you just tell me please if my new automount is working correctly?? what is that strange entry in /etc/mnttab??
thanks...