cancel
Showing results for 
Search instead for 
Did you mean: 

SLES 9 SP4 automount

 
jedd
Advisor

SLES 9 SP4 automount

Hello all
I am trying to implement automount feature for Novell SLES 9 SP4 in our environment. I have gotten the automounting to work, but for some reason the timeouts are not being read and the unmounting is not happening. I am using the autofs 4
Here are my files:
# cat /etc/auto.master
/net /etc/mount.map --timeout 3600
# cat /etc/mount.map
usr.sap.transpalglo -rw,hard,intr transpalglo:/vol/transpalglo
the /usr/sap/transpalglo is linked to /net/usr.sap.transpalglo. but after idle timeout is reached , the /net/usr.sap.transpalglo does not unmount
so my questions is, what is the proper syntax for the timeout.
is there anything else i need to set other than the above files, e.g. /etc/init.d/autofs
Any help would be appreciated
Thanks

2 REPLIES
Steven E. Protter
Exalted Contributor

Re: SLES 9 SP4 automount

Shalom,

The timeouts probably are working.

Any, file handle held open by a process on NFS will keep the mount alive.

fuser -uk /mount_point

If you see more entries that the fuser PID then what I am saying is true.

I don't think its a configuration problem, I think its an open proces/file handle issue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
jedd
Advisor

Re: SLES 9 SP4 automount

Hi Steven
thanks for the input. I did look into that, but currently there is nothing using the /usr/sap/transpalglo or the /net/usr.sap.transpalglo
here is the output
# fuser -u /usr/sap/transpalglo
# fuser -u /net/usr.sap.transpalglo
# fuser -u /net/
/net/: 17613(root)
# ps -ef | grep 17613
root 17613 1 0 Feb02 ? 00:00:00 /usr/sbin/automount --timeout 3600 /net file /etc/mount.map
root 9154 24441 0 09:39 pts/1 00:00:00 grep 17613