- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS-client (HP-UX 11.11) hangs....
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
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
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
02-19-2007 12:58 AM
02-19-2007 12:58 AM
Problem - nfs-client on HP-UX hangs. I cant access the share from this particular server (works from all others though), all commands concerning this share (bdf, df -k, ls -l fuser -cu, fuser -ku etc) all hangs, and are IMPOSSIBLE to shut down with kill -9! Nothing happens.
Its an production-system, so I cant reboot it for some time. Shutting down with /sbin/init.d/nfs.client (and server), works (kind of....), but when I start it it hangs...
Any good idea would be appreciated.
Thanx in advance
/Danny Petterson
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2007 01:03 AM
02-19-2007 01:03 AM
Re: NFS-client (HP-UX 11.11) hangs....
When nfs hangs like this sometimes only a boot can fix it.
Usually its caused by a loss of network connectivity.
The good news is there is evidence of the crime.
/var/adm/syslog/syslog.log
Should contain error messages thwt will help with diagnosis.
tail -f /var/adm/syslog/syslog.log
Then stop/start the client and see what happens.
Complete procedure should if possible be to stop the client, the nfs.server and nfs.core product and then start.
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
02-19-2007 01:10 AM
02-19-2007 01:10 AM
Re: NFS-client (HP-UX 11.11) hangs....
Syslog does not stated anything interesting, just nfs-server responding/not-responding.
...just...dont....want....to...reboot....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2007 02:52 AM
02-19-2007 02:52 AM
Re: NFS-client (HP-UX 11.11) hangs....
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2007 08:32 PM
02-19-2007 08:32 PM
Re: NFS-client (HP-UX 11.11) hangs....
I would check:
- network configuration: is the switch running the same config (10/100/1000 MBit HD/FD) - I wouldn't set it to automatic, but manual - both sides!
- could it be that a nfs directory is set, which disappeared? A server which is disconnected?
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 03:53 AM
02-21-2007 03:53 AM
Re: NFS-client (HP-UX 11.11) hangs....
if NFS client hang, the only soluation is reboot the box.
But, there is temporary soluation. this is help you to run other command. for example, bdf, etc.. but you won't be able to access shared directoy from NFS server.
#ps -ef |grep -i syncer
#kill -9
#vi /etc/mnttab
comment the line for nfs
save and come out
#/sbin/syncer -s
#bdf (it would successfully work)
once u get the downtime, reboot the box.
all the best.
Cheers;
Indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 05:30 AM - last edited on 06-29-2022 04:46 AM by Sunitha_Mod
02-21-2007 05:30 AM - last edited on 06-29-2022 04:46 AM by Sunitha_Mod
SolutionHi Danny,
There are many things you can try to unhang an NFS client before resorting to a reboot. I wrote a technical paper that documents different methods of recovering from a hung mount point and possibly unmounting hung filesystems. The technical paper is posted here:
http://docs.hp.com/en/3929/ForciblyUnmountingNFSFilesystems.pdf
This technical paper talks about different strategies available on systems prior to 11.23. One big benefit of running HP-UX 11.23 on NFS clients is the new forcible unmount feature. This allows you to use the "umount -f" command to forcibly remove a hung NFS mount point from the client without having to reboot the client.
Now, all that said, you may already have hosed yourself by using terminate -9 on the hung processes. Once you use terminate -9 it's very likely that these processes will not clean up their resources and exit in such a way that would allow you to unmount your hung filesystems.
The best advice I can give you prior to rebooting is to try to identify what is causing the stop responding . Is it one NFS server that isn't responding? Is it one specific mount point where all the biods are blocked trying to service? Is it one specific IP address of the server that isn't responding to requests? If it's any of those cases you might be able to fool the client into thinking the server/IP address is back on line again and get the hung processes to unblock (using the strategies outlined in the technical paper).
If they do unblock they should receive the terminate -9 signals you've sent and die. Whether they actually release the resources they were holding on the hung NFS filesystems is anyone's guess.
If this happens frequently in your environment you should consider upgrading to 11.23 to get the forcible unmount feature.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 06:35 PM
02-21-2007 06:35 PM
Re: NFS-client (HP-UX 11.11) hangs....
Thanx for your replys. Havent found the right solution yet, but Im looking into it.
For som strange reason, the client-connection started to work again aftaer aprox. 6 hours, no change in load on the share, network or everthing, it just decided to access the share, without any anoying errors.
I might add, the NFS-server has several other clients connecting to the same share, none of them have experienced any problems.
But again, thanx alot for suggestions, whitepapers etc.
Yours
Danny Petterson