- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to unmount the NFS. Please help.
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
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
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
тАО12-07-2007 04:54 AM
тАО12-07-2007 04:54 AM
We have NFS file system currently mounted in server A. The problem is the server B that provides the nfs file system has changed the ip. When I go to server A, it says - NFS server B not responding still trying. how can I disable this NFS file system since we don't need it. Please help. Hope to hear from you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 04:59 AM
тАО12-07-2007 04:59 AM
Re: How to unmount the NFS. Please help.
can you try to change the IP address of server B in the /etc/hosts?
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 05:04 AM
тАО12-07-2007 05:04 AM
Re: How to unmount the NFS. Please help.
To unmount NFS imported you can use:
umount -h xyz.com -a
This will unmount all mount imported from the host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 05:12 AM
тАО12-07-2007 05:12 AM
Re: How to unmount the NFS. Please help.
before I unmount, i wanna double verify the NFS from that server B.
I tried to issue:
# showmount -a
showmount: puyuh: RPC: Program not registered
the command
# umount -h xyz.com -a
if let say the server name is "kedidi"
shall i use like this:
# umount -h kedidi -a
I'm a newbie, I'm very afraid to change something very major like this. Hope to hear from you. Thanks a bundle
promise of a good points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 05:15 AM
тАО12-07-2007 05:15 AM
Re: How to unmount the NFS. Please help.
hostname you are using into command should be same as mentioned into /etc/mnttab. You can verify this name by running bdf command where it can be seen as xyz.com:/filesys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 05:21 AM
тАО12-07-2007 05:21 AM
Re: How to unmount the NFS. Please help.
ore temp ad the ip back to server b and umount it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 05:40 AM
тАО12-07-2007 05:40 AM
Re: How to unmount the NFS. Please help.
did you try to modify the /etc/hosts or DNS entry so that the server resolves to the new address?
(may also have to modify your /etc/exports)
this can work.
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 07:48 AM
тАО12-07-2007 07:48 AM
Re: How to unmount the NFS. Please help.
the problem is to umount a not-responding file-system!
With the right os (as said above) you can use the force-option, else you have to reconnect to the nfs-server first or do a reboot.
If it's only the ip-address, then you have to change this address for server B in the /etc/hosts of server A.
Then the reconnect should work.
To unmount a directory check your /etc/fstab, there, for example, is:
'server:/bitmaps /bitmaps nfs'
Then your command is 'umount /bitmaps'.
Else, before reboot(!), you should change the /etc/fstab and comment out all directories with are mounted from server B.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2007 05:37 AM
тАО12-08-2007 05:37 AM
Re: How to unmount the NFS. Please help.
Thanks a lot for your close guidance. I was able to NFS server B not responding.
I commented the respective entry in the /etc/fstab and /etc/mnntab from the NFS client. When I issue bdf in the NFS client, the NFS server B not responding was disappear. Thanks a lot. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2007 02:44 PM
тАО12-08-2007 02:44 PM
Re: How to unmount the NFS. Please help.
No need to edit mnttab since that is generated by the kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2007 04:38 PM
тАО12-09-2007 04:38 PM
Re: How to unmount the NFS. Please help.
If I didn't edit the /etc/mnntab, when i issue bdf, it still say NFS server B not responding still trying... errmmm hope to hear from u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2007 06:05 PM
тАО12-09-2007 06:05 PM
Re: How to unmount the NFS. Please help.
mnttab(4) implies that syncer(1m) will update mnttab every 30 seconds. So if you edit it, it will be put back. It also says if removed, it will recreate it. You may try renaming it to see what it puts back. Note the WARNINGS in mnttab(4).
So if editing mnttab did work for bdf, it wouldn't work for long.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2007 06:12 PM
тАО12-09-2007 06:12 PM
Re: How to unmount the NFS. Please help.
You are right, the problem persist. what should i do now? i wanna have the permanent solution to it? is it umount? would really appreciate you could guide me. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2007 06:44 PM
тАО12-09-2007 06:44 PM
Re: How to unmount the NFS. Please help.
As mentioned by Robert-Jan, you need to be on a newer OS or you have to reboot. And you already edited fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2007 07:42 PM
тАО12-09-2007 07:42 PM
Re: How to unmount the NFS. Please help.
shall i use like this:
# umount -h kedidi -a
kedidi is the host name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2007 11:33 PM
тАО12-09-2007 11:33 PM
Re: How to unmount the NFS. Please help.
Yes, if the following umount doesn't work.
# umount -h kedidi -a
You don't mix -a with -h.
And I think you have tried it and it failed, so just edit /etc/fstab to remove them then reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2007 11:53 PM
тАО12-09-2007 11:53 PM
Re: How to unmount the NFS. Please help.
Check this link ,it may help you to solve this issue.
http://docs.hp.com/en/3929/ForciblyUnmountingNFSFilesystems.pdf
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 04:23 AM
тАО12-11-2007 04:23 AM
Re: How to unmount the NFS. Please help.
1. df -k
2. check whether there is any NFS file system mounted.
3. umount /mnt.
4. remove any entry made in /etc/fstab for NFS file system for that particular file sytsem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 05:14 PM
тАО12-11-2007 05:14 PM
Re: How to unmount the NFS. Please help.
When I tried to umount, it says:
# umount /backup
nfs umount: nfs_unmount: /backup: is busy
# fuser -cu /backup
/backup:
# uname -a
HP-UX puyuh B.11.00 A 9000/898 687663371 two-user license
I can't reboot the server, since the application are running some processses. If i can't really do, i have to wait till they allow us to do restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 10:46 PM
тАО12-11-2007 10:46 PM
Re: How to unmount the NFS. Please help.
did you checked the source of nfs mounted? I think, you must check the source first. If at the source, the shared directory not mounted, you must mount it (restart nfs daemon) and than try to umount the directory at client.
to restart nfs daemon:
# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.server start
-yut-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2007 12:43 AM
тАО12-12-2007 12:43 AM
Re: How to unmount the NFS. Please help.
Try
#fuser -au /file system name
It will shown the user who are using that file system.
Kill the user who are accesing the the file system
# kill -9 processesid or userid.
#cd /
#umount /filesystem name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2007 12:46 AM
тАО12-12-2007 12:46 AM
Re: How to unmount the NFS. Please help.
why you don't try to give server A a 'server B' again? Change the ip address in /etc/hosts so server A can see server B again - or define any client you don't use at the moment and configure it like server B was before you changed it - OR undo the changes at server B.
When the mount is established again, you can unmount without problems. Then (after /etc/fstab is changed) you can change back.
Volkmar