- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot unmount (exported) filesystem lsof and ...
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
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
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
05-07-2012 11:26 AM
05-07-2012 11:26 AM
Re: cannot unmount (exported) filesystem lsof and fuser do NOT show it as busy
Kris Knigga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2012 11:26 AM
05-07-2012 11:26 AM
Re: cannot unmount (exported) filesystem lsof and fuser do NOT show it as busy
"If the NFS daemons truely do not hold open filesystems that contain NFS exports (suggested by the lack of help from fuser or lsof), then I'm guessing a list of NFS exports is consulted when an unmount is attempted. If this is the case, maybe a request for enhancement should be created to give a more useful error message? I'm sure this bites most people new to 11.31 at some point."
Kris, you are SO RIGHT. I got bit!
I know where to look now. I'll view the contents of /etc/dfs/sharetab to make sure the filesystem to unmount is not listed there.
I see I can also run: "unshare /back" in the event I need to unhook an NFS exported filesystem yet keep others still NFS mounted to other client computers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2012 01:02 PM
05-07-2012 01:02 PM
Re: cannot unmount (exported) filesystem lsof and fuser do NOT show it as busy
Like /etc/mnttab is used by the mount/umount commands to track currently mounted filesystems, /etc/dfs/sharetab is used by the share/unshare commands to track currently shared filesystems.
Neither file should be edited by hand in any normal situation.
If you edit them, it will cause confusion, unless you really know what you're doing.
Tools like fuser and lsof will only tell you if something is being used by any userspace process: the kernel NFS server is not an userspace process, although some of its components may appear as processes in the ps -ef listing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2012 04:43 PM
05-07-2012 04:43 PM
Re: cannot unmount (exported) filesystem lsof and fuser do NOT show it as busy
>I'm sure this bites most people new to 11.31 at some point.
I don't think this has changed for 11.31, except you need to look at /etc/dfs/sharetab instead of /etc/xtab.
>I don't think "exportfs -a" unexports/unshares things that have gone missing from dfstab
Right, exportfs -a only adds filesystems, unless -u is used. I assume that -au uses the info in /etc/dfs/sharetab.
>Neither file should be edited by hand in any normal situation.
It probably doesn't matter since mnttab is a device file (on 11.31) and can't be edited.
- « Previous
- Next »