1833788 Members
2669 Online
110063 Solutions
New Discussion

NFS unmounting on client

 
SOLVED
Go to solution
Tom Wolf_3
Valued Contributor

NFS unmounting on client

Hello, we have an HP-UX 11.23 ia65 BL870c server in our environment that keeps un-mounting the NFS exported to it. Everything looks to be configured correctly from both the NFS server and NFS client perspective. Nothing is being written in syslog on either the client or server relating to this mysterious un-mount. In a nut shell, I mount the the NFS:

# mount /net

It appears mounted in bdf output:

mkeadm01:/swdepot 47165440 40041816 6902816 85% /net

I check about 10 minutes later and it's un-mounted.

Has anyone else out there ever experienced this?

If so, how did you resolve it?

As always, any assistance would be greatly appreciated.

Thanks.

Tom Wolf
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: NFS unmounting on client

I assume you aren't using the automounter, whose major purpose is to unmount unused NFS filesystems. And then mount them when they are accessed.
Tom Wolf_3
Valued Contributor

Re: NFS unmounting on client

Hello Dennis, that is correct, AUTOFS=0 in the /etc/rc.config.d/nfsconf file on the client.
John Guster
Trusted Contributor

Re: NFS unmounting on client

Tom,

It is mount on demand, the automount. If it is not being used for 10 minutes(which can be adjusted), it will be unmounted. Whenever it is needed, it will mounted which can be initiated through commands such as cd, cat..etc.
Tom Wolf_3
Valued Contributor

Re: NFS unmounting on client

Hi John, what setting do I have to adjust so it stays mounted and doesn't use "mount on demand"?

The nfsconf file on this client is configured the same as all our other hosts so I'm wondering why it's only happening here.

Let me know what you think.

Thanks!
Tim Nelson
Honored Contributor
Solution

Re: NFS unmounting on client

Clarification.

1) You say automounter is disabled ? but the use of /net typically indicates it is. ps -ef|grep auto

2) If you are NOT using automounter then there should be an entry for this in your /etc/fstab.

Deconfigure automounter and put entry in fstab. Then if this is truely the issue this NFS mount will always be mounted unless there is a net or nfs server issue.

Never use automounter myself due to all the issues I encountered with it in the past. With FastE and GigE connctions now a days is there really any need to not mount permanently ?


Tom Wolf_3
Valued Contributor

Re: NFS unmounting on client

Setting AUTOMOUNT=0 in /etc/rc.config.d/nfsconf and ensuring the NFS mount was in /etc/fstab did the trick.

Thanks to everyone who responded.