- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- umounting a filesystem
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
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
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-01-2002 08:28 AM
05-01-2002 08:28 AM
umounting a filesystem
ps: i cannot use -f option at this point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 08:33 AM
05-01-2002 08:33 AM
Re: umounting a filesystem
fuser /dev/vg00/lvol1
and to kill all process using that VG
fuser -k /dev/vg00/lvol1
-Yates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 08:37 AM
05-01-2002 08:37 AM
Re: umounting a filesystem
Check like like
1. You should not be in that filesystem.
2. do a fuser -ck /dev/vgxx/lvolxx and get then try to unmount the system.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 08:40 AM
05-01-2002 08:40 AM
Re: umounting a filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 08:42 AM
05-01-2002 08:42 AM
Re: umounting a filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 08:45 AM
05-01-2002 08:45 AM
Re: umounting a filesystem
Look,
# fuser /tmp
/tmp: 1306o 1314o 1322o 2421c 2426c 2423c 2425c 2427c 2428c 2429c
# fuser /dev/vg00/lvol6
/dev/vg00/lvol6: 1295o 1306o 1314o 1322o 2321mo 2421c 2426c 2423c 2425c 2427c 2428c 2429c
You can see fuser on the VG gives you all processes accessing the LVOL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 08:51 AM
05-01-2002 08:51 AM
Re: umounting a filesystem
What is the filesystem you're trying to unmount?
If I understand correctly, "fuser -cu /fs" shows no processes, and you're not standing on the fs (i.e. - pwd is not under /fs).
Is this a pfs/nfsmount?
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 08:53 AM
05-01-2002 08:53 AM
Re: umounting a filesystem
Download a copy from:
http://hpux.connect.org.uk/
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 08:54 AM
05-01-2002 08:54 AM
Re: umounting a filesystem
fuser -ck /mount point will definately do the job. What is the mounpoint name , may be it is in PATH of some user . But in any case do like like
fuser -ck /mountpoint ; umount /mountpoint in one single line.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 09:38 AM
05-01-2002 09:38 AM
Re: umounting a filesystem
It will not work for certain file system in runlevel 3.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 09:44 AM
05-01-2002 09:44 AM
Re: umounting a filesystem
Granted, lsof is much more robust that fuser but just to see if a filesystem is being used: "fuser -c /mount_point" or "fuser -cu /mount_point"
Be cautious with fuser -k. I'd like to know what process is using the filesystem before I arbitrarily kill it.
It's not that I don't like lsof. It's just that my former employer's security group didn't approve of it's use. In my book, all admins should have lsof in their toolkit.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 10:00 AM
05-01-2002 10:00 AM
Re: umounting a filesystem
The filesystem I use is an nfs shared by the clients. Basically the server acts as a file server and their are some hundred clients accessing that filesystem.
To brief up more the system is clustered using service guard. I have tried lsof , fuser , but still no work around. Also this filesystem used to get umount earlier, but something changed (i really dont know what!) and it now fails to umount.
I am planning on trying few things, i hope this will work or at least point to a problem.
1) Reboot the system, making sure no users are logged in and try to umount the filesystem.
2) Make another temp filesystem and move this filesystem to the temporary one and try to umount it.
The filesystem i am talking about is really an lvm volume with a filesystem on top of that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 10:03 AM
05-01-2002 10:03 AM
Re: umounting a filesystem
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
umount /filesys
??????
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 10:03 AM
05-01-2002 10:03 AM
Re: umounting a filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 10:05 AM
05-01-2002 10:05 AM
Re: umounting a filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 10:12 AM
05-01-2002 10:12 AM
Re: umounting a filesystem
Again the answer lies in fuser only even if it is NFS still there ahs to be some process associated with it , does just fuser < mount point > give you any process id ?.
Manoj Srivastava