- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Why can't I unmount /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
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
01-17-2008 01:19 PM
01-17-2008 01:19 PM
Why can't we unmount fdhp31:/tmp ?
##################################
root@fdhp31[/root]
HP-UX fdhp31 B.11.23 U 9000/800/A500-7X
##################################
root@fdhp31[/root]
# bdf /tmp
Filesystem kbytes used avail %used Mounted on
/dev/vg00/tmp 2048000 32936 1999392 2% /tmp
root@fdhp31[/root]
# grep tmp /etc/fstab
/dev/vg00/tmp /tmp vxfs delaylog 0 2
##################################
root@fdhp31[/root]
# cat /etc/mnttab
/dev/vg00/root / vxfs ioerror=mwdisable,delaylog,dev=40000003 0 1 1199742090
/dev/vg00/stand /stand hfs defaults,dev=40000001 0 0 1199742093
/dev/vg00/usr /usr vxfs ioerror=mwdisable,delaylog,dev=40000007 0 0 1199742805
/dev/vg00/opt /opt vxfs ioerror=mwdisable,delaylog,dev=40000005 0 0 1199743217
/dev/vg00/home /home vxfs ioerror=mwdisable,delaylog,dev=40000004 0 0 1199743258
/dev/vg00/tmp /tmp vxfs ioerror=mwdisable,delaylog,dev=40000006 0 0 1199743287
/dev/vg00/var /var vxfs ioerror=mwdisable,delaylog,dev=40000008 0 0 1199743332
-hosts /net autofs ignore,indirect,nosuid,soft,nobrowse,dev=60000000 0 0 1199743522
##################################
root@fdhp31[/]
# fuser -u /dev/vg00/tmp
/dev/vg00/tmp:
root@fdhp31[/]
# umount /tmp
umount: cannot unmount /tmp : Device busy
umount: return error 1.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 01:26 PM
01-17-2008 01:26 PM
Solutionumount: cannot unmount /tmp : Device busy
fuser -cu /tmp
/tmp is used by the OS...
Why do you need to un mount it?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 01:35 PM
01-17-2008 01:35 PM
Re: Why can't I unmount /tmp ?
A co-worker was testing the umount command on a test system. I have successfully unmounted /tmp before. Just want to understand why ? I'll see if I can install lsof to gather more info ( maybe a socket ? )
Thanks.
##################################
root@fdhp31[/]
# fuser -cu /tmp
/tmp:
root@fdhp31[/]
# umount /tmp
umount: cannot unmount /tmp : Device busy
umount: return error 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 01:38 PM
01-17-2008 01:38 PM
Re: Why can't I unmount /tmp ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 01:41 PM
01-17-2008 01:41 PM
Re: Why can't I unmount /tmp ?
That probably won't clear up until after a reboot.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 02:05 PM
01-17-2008 02:05 PM
Re: Why can't I unmount /tmp ?
root@hohp201[/root]
# bdf /tmp
Filesystem kbytes used avail %used Mounted on
/dev/vg00/tmp 2228224 4208 2207544 0% /tmp
root@hohp201[/root]
# fuser -u /dev/vg00/tmp
/dev/vg00/tmp: 2684o(root) 2671o(root) 2702o(root) 2693o(root) 4416c(root) 4415c(root) 4413c(root) 4417c(root) 4422c(root)
root@hohp201[/root]
# fuser -ku /dev/vg00/tmp
/dev/vg00/tmp: 2684o(root) 2671o(root) 2702o(root) 2693o(root) 4416c(root) 4415c(root) 4413c(root) 4417c(root) 4422c(root)
root@hohp201[/root]
# fuser -u /dev/vg00/tmp
/dev/vg00/tmp:
root@hohp201[/root]
# umount /tmp
root@hohp201[/root]
# bdf /tmp
Filesystem kbytes used avail %used Mounted on
/dev/vg00/root 212992 146536 66056 69% /
root@hohp201[/root]
# mount /dev/vg00/tmp /tmp
root@hohp201[/root]
# bdf /tmp
Filesystem kbytes used avail %used Mounted on
/dev/vg00/tmp 2228224 4208 2207544 0% /tmp
root@hohp201[/root]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 02:10 PM
01-17-2008 02:10 PM
Re: Why can't I unmount /tmp ?
# fuser -cuk /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 05:25 PM
01-17-2008 05:25 PM
Re: Why can't I unmount /tmp ?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 06:55 PM
01-18-2008 06:55 PM
Re: Why can't I unmount /tmp ?
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.78/
Very useful.
Leonid.