- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to tell which systems are mounting NFS exports
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-2009 07:48 AM
тАО12-07-2009 07:48 AM
How to tell which systems are mounting NFS exports
I want to unmount an NFS export but I am unable to do so because the mount is busy. What command(s) can I use to determine what client systems are currently mounting the export in question? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 07:51 AM
тАО12-07-2009 07:51 AM
Re: How to tell which systems are mounting NFS exports
also you can use "fuse -cu
Regards,
Piyush Mathiya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 08:00 AM
тАО12-07-2009 08:00 AM
Re: How to tell which systems are mounting NFS exports
the command would be
showmount -a
this would show the clients that have mounted the servers exported fileystems.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 08:16 AM
тАО12-07-2009 08:16 AM
Re: How to tell which systems are mounting NFS exports
Thank-you for your reply. The showmount command does help. What I am looking for is what systems currently have the export in question mounted. Also, if necessary, is there a way to force the mount in question to be unmounted? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2009 10:56 AM
тАО12-07-2009 10:56 AM
Re: How to tell which systems are mounting NFS exports
you can use
fuser -cu /home/test -- to know what processes are accessing that file system.
then after that
fuser -kcu /home/test
to kill all the processes that are using thast filesystem.
Cuation: that fuser -kcu would terminate all the proceses as well as the user processes that are accessing that fileysten at that time.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2009 07:28 AM
тАО12-08-2009 07:28 AM
Re: How to tell which systems are mounting NFS exports
# showmount -a SERVER
man 1m showmount:
"-a Print all remote mounts in the format"
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 02:27 AM
тАО12-11-2009 02:27 AM
Re: How to tell which systems are mounting NFS exports
Just an addition I miss all the time is to unshare a NFS share before umounting it.
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 02:41 AM
тАО12-11-2009 02:41 AM
Re: How to tell which systems are mounting NFS exports
look at the content of /etc/rmtab and see who all currently have nfs export mounted on them.
Unmount the export from all clients , this is to ensure none of the client goes to nfs stale condition if you unmount nfs export.
Once done do
stop nfs server on nfs master
unmount -- if still doesn't work do fuser -ku on mount point -- umount
Javed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 03:00 AM
тАО12-11-2009 03:00 AM
Re: How to tell which systems are mounting NFS exports
cat /etc/rmtab|grep -v "#"
rgs