Operating System - HP-UX
1834751 Members
3220 Online
110070 Solutions
New Discussion

NFS autoFS won't release mount point

 
Gerald Taylor
Frequent Advisor

NFS autoFS won't release mount point

We have N-class server runnin HPUX 11.11 There are several system's for which we use autoFS to access NFS shared directories. The wierd thing is on HPUX 11.00 systems when we access the mount point it shows up in "bdf" but then disappears after some time. On two of our 11.11 they never go away. I tried to find if there was a process still using a file or something of that sort but it appears there is not. There is no output from:

fuser -cu /net/server/mountpoint
or
fuser -u servername:mountpoint

No output for both commands. Any ideas?

10 REPLIES 10
Alex Lavrov.
Honored Contributor

Re: NFS autoFS won't release mount point

What about "lsof /path/to/filesystem" ?

If you try to unmount it, so you get any messages?
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Gerald Taylor
Frequent Advisor

Re: NFS autoFS won't release mount point

Tried lsof also I get no output.
Alex Lavrov.
Honored Contributor

Re: NFS autoFS won't release mount point

What about umount?
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Gerald Taylor
Frequent Advisor

Re: NFS autoFS won't release mount point

umount actually does umount the filesystem. Shouldn't the autoFS perform this for me?

Gerald
Alex Lavrov.
Honored Contributor

Re: NFS autoFS won't release mount point

If you can unmount withour problems, it means that noone uses it, so it's probably misconfiguration of autoFS


can you post here the conf files? (/etc/auto_master, direct etc)
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Steven E. Protter
Exalted Contributor

Re: NFS autoFS won't release mount point

Your command output shows no processes open.

what does nfsstat show?

I agree with Alex. If you can umount there isn't a process with a filehandle on the filesystem.

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
Rick Garland
Honored Contributor

Re: NFS autoFS won't release mount point

You have a misconfiguration of the map file(s) for autoFS.
Gerald Taylor
Frequent Advisor

Re: NFS autoFS won't release mount point

the /etc/auto_master

/net -hosts -nosuid,soft

It only has the the above line.

nfsstat -m shows all the mounts that are shown with the "bdf" command. Attached is a nfsstat command results.
Pete Randall
Outstanding Contributor

Re: NFS autoFS won't release mount point

Gerald,

What's your patch level?

# swlist |grep -i nfs
PHNE_29883 1.0 ONC/NFS General Release/Performance Patch

This is one from one of my 11.11 systems running autoFS that is not showing the symptoms you describe.


Pete

Pete
Gerald Taylor
Frequent Advisor

Re: NFS autoFS won't release mount point

It appears I have several nfs related patches:
# swlist -l product | grep -i nfs
NFS B.11.11 ONC/NFS; Network-File System,Information Services,Utilities
PHKL_25238 1.0 11.00 NFS nfsd deadlock
PHKL_25993 1.0 thread nostop for NFS, rlimit, Ufalloc fix
PHKL_27266 1.0 iCOD,RTSCHED,(u)mount,final close,NFS umount
PHKL_28185 1.0 Tunable;vxportal;vx_maxlink;DMAPI NFS hang
PHKL_29335 1.0 vx_nospace on NFS write.
PHNE_29783 1.0 ONC/NFS General Release/Performance Patch