- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS mount not going away
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
тАО03-02-2005 06:13 AM
тАО03-02-2005 06:13 AM
NFS mount not going away
Have an issue in that a NFS mounted file system is no longer valid, as the NFS server was taken down. The clients are mounting the NFS filesystem as a soft mount thru /etc/fstab. Now on these servers, whenever we issue a bdf command, we get the below message: -
"NFS getattr failed for server xxx: RPC: Timed out", in other words bdf hangs for 5-10 minutes before responding. Have tried recreating the server xxx elsewhere, but guess on the client the pointers are to the first server xxx, so problem will not go away. Have tried stopping and starting the nfs daemons on the servers but problem stays. Other than rebooting the servers, is there a away to cleanup a "known hung NFS mount" - problem is compounded more by the fact that the servers in question are in production.
Regards
Radha Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2005 12:05 PM
тАО03-02-2005 12:05 PM
Re: NFS mount not going away
Your only choice is to reboot the server (nfs client) to clear this issue. I do not think there is anything else that can be done.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2005 07:03 PM
тАО03-02-2005 07:03 PM
Re: NFS mount not going away
I agree that the only way to resolve it, it's to reboot the box.
I think if you'll do "bdf", it's gonna stuck too, so the faster you'll reboot the machine, the smaller are the chanses that something will go wrong on the system.
I had really big troubles with it in the past and from personal experience I can tell you that to leave a machine like this is VERY unhealthy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2005 07:07 PM
тАО03-02-2005 07:07 PM
Re: NFS mount not going away
If possible restart the nfs server ( or a new server that has the same ipadress) export the same exports and umount before taking the nfs server down.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2005 07:43 PM
тАО03-02-2005 07:43 PM
Re: NFS mount not going away
i will not repeat the solution of reboot the server , but if this issue disturb you , you can define this nfs file system to be a soft mount and not a hard mount .
this will solve the problem of the timeout but there is also disadvantage of soft link againt hard links .
i m also sending you a nice pdf that will guide you on this problem
eran maor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2005 07:52 PM
тАО03-02-2005 07:52 PM
Re: NFS mount not going away
I've had this problem before, and as everyone else has suggested, reboot's generally work. If your not in a position to do a reboot, I usually stop the nfs daemon, kill off any active processes attached to the mount using fuser, comment out the offending fstab entry, then use ndd disconnect_by_address (can't remember the real name sorry, it's in ndd -h unsupported) and remove all the hung tcp connections to the nfs mount by hand. To finish, stop and restart the nfs daemons and you *should* be ok. It's probably not a good solution but I've done it in emergency situations before and it's worked ok.
Good luck!
-=ChaZ=-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2005 01:44 AM
тАО03-03-2005 01:44 AM
Re: NFS mount not going away
I am trying the ndd command but hitting some roadblocks. The ip address of the nfs server is say x.y.z.q. From what I understand from ndd, the command syntax is to be
ndd -set /dev/tcp tcp_discon_by_addr x.y.z.q
the above gives me operation failed, invalid argument. Any idea what the correct syntax is?
Appreciate any information you can provide on this.
Thanks
RadhaC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2005 01:58 AM
тАО03-09-2005 01:58 AM
Re: NFS mount not going away
It's a pain, I've got a script that does it I'll try to dig it out and attach!
Best regards,
ChaZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2005 02:09 AM
тАО03-09-2005 02:09 AM
Re: NFS mount not going away
Can't find my script, it's evaporated it's risky to automate it anyway.....
----snip----from---elsewhere------
The format is ndd -set /dev/tcp tcp_discon_by_addr "0a0a04081f42 a0a8c2f0527"
Where :
local ip=10.10.4.8 = 0x0a0a0408
local port=8002 = 0x1f42
remote ip = 10.10.140.47 = 0x0a0a8c2f
remote port = 1319 = 0x0527
---snip---------------------------
Hope this helps!
-=ChaZ=-