- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Chance to release stale nfs mount from non-existen...
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
тАО04-30-2003 01:57 AM
тАО04-30-2003 01:57 AM
The problem is as written in the subject line.
The nfs server isn't alive anymore:
ping -t 10 $(grep nfs /etc/mnttab|cut -d: -f1) -n 1
PING 10.10.110.133: 64 byte packets
----10.10.110.133 PING Statistics----
1 packets transmitted, 0 packets received, 100% packet loss
Since the nfs mount is stale no wonder that all nfs requests hang (e.g. bdf), and an umount attempt fails.
umount $(awk '$3=="nfs"{print $2}' /etc/mnttab)
nfs umount: nfs_unmount: /tmp/bwdiwo: is busy
Ok, Itried to stop the nfs client, but since it neither can release the stale mount it shrewedly reappears.
/sbin/init.d/nfs.client stop
killing rpc.lockd
killing rpc.statd
killing nfsd
killing rpc.mountd
starting NFS SERVER networking
starting up the rpcbind daemon
rpcbind already started, using pid: 1249
starting up the mount daemon
/usr/sbin/rpc.mountd
starting up the NFS daemons
/usr/sbin/nfsd 4
starting up the Status Monitor daemon
/usr/sbin/rpc.statd
starting up the Lock Manager daemon
/usr/sbin/rpc.lockd
umountall: umount : has failed.
umountall: diagnostics from umount
nfs umount: nfs_unmount: /tmp/bwdiwo: is busy
Needless to mention that games like such also fail.
fuser -ck $(awk '$3=="nfs"{print $2}' /etc/mnttab)
or
perl -i.stale -ne 'print unless /nfs/' /etc/mnttab && rmdir /tmp/bwdiwo
Is there any hope to get rid of this nfs mount without rebooting the damned host?
Solved! Go to Solution.
- Tags:
- NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2003 02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2003 02:04 AM
тАО04-30-2003 02:04 AM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0x46a43a7b3682d611abdb0090277a778c,00.html
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2003 02:07 AM
тАО04-30-2003 02:07 AM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
i too had expereinced stale nfs, ultimately rebooting the m/c is the solution we found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2003 02:07 AM
тАО04-30-2003 02:07 AM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
Only a reboot will fix it properly, sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2003 02:53 AM
тАО04-30-2003 02:53 AM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
Eventually, removing NFS mount points as the NFS server is dead has been a problem for many of us I guess, not only on HP-UX systems, and I wonder why this has never been adressed. Is there any reason for that? For example, I guess we all would appreciate having the ability to remount soft and/or intr if necessary, and then remove the attached processes and the mount point. Wouldn't that be a good idea?
Regards,
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2003 03:03 AM
тАО04-30-2003 03:03 AM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
Any HP'ers out there that can offer any insight?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2003 12:11 PM
тАО04-30-2003 12:11 PM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
Then I fuser -cuk /mount_point ...
Then I shut down the nfs client and nfs core, immediately restarting.
Then I wake up and boot the box, commenting out anything in /etc/fstab that will generate errors.
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
тАО04-30-2003 12:16 PM
тАО04-30-2003 12:16 PM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2003 01:04 PM
тАО05-06-2003 01:04 PM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
Pete, if such an option of umount ever existed, I suppose it was removed because its implementation was not compliant with some standard. But really, I would appreciate hearing of an HP representative on that subject...
Regards,
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2014 05:00 AM
тАО03-14-2014 05:00 AM
Re: Chance to release stale nfs mount from non-existent nfs server without rebooting client?
try umount -f <mount point> v3 OS