- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- To get rid of a "not responding" NFS mount
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2006 11:40 PM
тАО05-07-2006 11:40 PM
To get rid of a "not responding" NFS mount
I am never a winner in the game with stale NFS. I have a NFS client with some remote filesystems mounted. But the NFS server is disappeared for some reason. Now if I do a bdf in client, it hangs, if I do a cd to mount point, it hangs. All I want is to unmount or remove the NFS mounted filesystem.
I have found some HP docs, which advise to do these steps.
Stop NFS client
Stop NFS server
rm -r /etc/sm
rm -r /etc/sm.bak
start NFS client
start NFS server
In my system (10.20), it does not have /etc/sm or sm.bak, instead I have /var/statmon/sm and sm.bak.
Is it allright to delete this? Or any other way to tackle this state?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2006 11:54 PM
тАО05-07-2006 11:54 PM
Re: To get rid of a "not responding" NFS mount
The derictories are generated by statd
Each file in /var/statmon/sm represents one or more machines to be monitored by the statd daemon.
Each file in /var/statmon/sm.bak represents one or more machines to be notified by the statd daemon upon its recovery.
I would suggest not to delete but to move the files to a different name.
So far I havent heard of such problems resolved without a reboot. remember to comment the lines for nfs client and the remote filesystems b4 u reboot.
BTW if you try the above procedure and it works do not forget to put post the solution.
Rgds,
Ajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 12:39 AM
тАО05-08-2006 12:39 AM
Re: To get rid of a "not responding" NFS mount
When, oh, when, is HP going to fix this problem? Ever since NFS v 3 was put into HP-UX, we've had this problem. NO OTHER mainline UNIX OS has the same problem!
In fact, Solaris offers "umount -f" to force the dismount!
I've used soft options, and sometimes that helps, but surely this is a HUGE bug in the NFS client code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 01:26 AM
тАО05-08-2006 01:26 AM
Re: To get rid of a "not responding" NFS mount
Stopping services in an NFS stale situation usually doesn't help - it can lead to an unrecoverable situation unless you reboot.
As a trick if you just need to dismount the
filesystem and the remote server is dead or similar you can assing the server IP as a virtual IP to something else, just to have a responding IP, kill all the processes keeping busy the client mount point, then try again the dismount.
Alessandro Bocchino
http://www.risolve.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 02:28 AM
тАО05-08-2006 02:28 AM
Re: To get rid of a "not responding" NFS mount
You would have tried all options by now. But on 10.20, the only option is "reboot".
You can see the writeup for this PHCO_9543.
Some say that you can apply patches, but even when you apply patches, they require reboot, but never seen solving the problem in 10.20
Hope you can have a reboot & this helps.
Also have this thread for your help
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=69647
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 02:29 AM
тАО05-08-2006 02:29 AM
Re: To get rid of a "not responding" NFS mount
I support a handful of 10.20 systems and like everyone else here I have to reboot to solve this issue. Like Jakes mentioned, you can force the unmount in a solaris system, but alas 10.20 does not have this wonderful option. I know it sounds too "windowsish", but I'd just reboot.
Off into the sunset!
John E. Ophious
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 06:13 AM
тАО05-08-2006 06:13 AM
Re: To get rid of a "not responding" NFS mount
There is one way, and one way only with the OS you mentioned to prevent this.
Stop the NFS server from disappearing.
If it can be upgraded to 11i v2 then it can handle NFS v4, which handles connections differently.
If the remote server were a recent Linux distro, the same would be true.
Stale mount is caused by the NFS server going away. That can be due to network issues, issues on the server or the client box (10.20) simply disconnecting because its too busy.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 08:15 AM
тАО05-08-2006 08:15 AM
Re: To get rid of a "not responding" NFS mount
Yes, it normally end up in a reboot.. that's what I hate to do.
Regards
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 01:50 PM
тАО05-08-2006 01:50 PM
Re: To get rid of a "not responding" NFS mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 02:22 AM
тАО05-09-2006 02:22 AM
Re: To get rid of a "not responding" NFS mount
some tips which might help to get rid of this:
make a soft mount (mount ... -o soft)
you might be able to umount it after issuing a
#fuser -ku server.domain:/filesystem
Be sure to run the fuser against the server:/filesystem, not against your /local_mountpoint.
There is a Document somewhere around, which describes a lot of NFS-tips and tricks (something like "forcibly unmounting nfs filesystems")
If you cannot find it, i will upload it.
Christian