- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unmounting /tmp
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
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
тАО03-18-2011 10:48 AM
тАО03-18-2011 10:48 AM
I was trying to unmount /tmp online.But ended up with below error.
umount /tmp
umount: cannot unmount /tmp : Device busy
umount: return error 1.
test:/>fuser -cu /tmp
/tmp:
But fuser shows no process using /tmp.
Can i unmount /home online..
Please suggest.
Note : this is just testing purpose..
Regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 11:14 AM
тАО03-18-2011 11:14 AM
SolutionPete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 11:22 AM
тАО03-18-2011 11:22 AM
Re: unmounting /tmp
logon ssh, console is better
cd /
fuser -cuk /tmp
DO NOT do this on a live, running system. All services need to be down to try this trick.
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
тАО03-18-2011 11:49 AM
тАО03-18-2011 11:49 AM
Re: unmounting /tmp
Strangely if you have configured "file system swap" on the /tmp filesystem , then you would not be able to unmount /tmp or any filsystem until you "unconfigure" that space whether it's with swapoff or a deletion from fstab and a reboot.
However, as pete mentioned fuser is unable to find a user that returns $PWD as /tmp and logically speaking if you tried to unmount a filesystem a user was currently accessing {which is not_possible} , at which point of the file system hierarchy would the user be in now?. I hope you get the point.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 12:10 PM
тАО03-18-2011 12:10 PM
Re: unmounting /tmp
Have you tried lsof?