- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot extend /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
02-28-2006 12:38 AM
02-28-2006 12:38 AM
I have to extend the /tmp directory, but I can't umount it because always busy :
- I killed the bootp deamon with kill -9 an deactivate it in /etc/initd.conf with a # and started inetd -c
- then i do :
sapdev //#>init s
**** SYSCON CHANGED TO /dev/console ****
sapdev //#>umount /dev/vg00/lvol4
umount: cannot unmount /tmp : Device busy
umount: return error 1.
sapdev //#>fuser -cuk /tmp
/tmp:
- as you see no process is working on the /tmp directory. What can I do ?
Thank you for your help.
Thierry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 12:43 AM
02-28-2006 12:43 AM
Re: Cannot extend /tmp !
shutdown
without arguments goes in single user, do a bdf and see if /tmp has been unmounted. Otherwise you have to reboot and interact with IPL typing
hpux -is
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 12:45 AM
02-28-2006 12:45 AM
Re: Cannot extend /tmp !
Please extend the /tmp directory in single-user mode. If you want to do it online without unmounting, then you need the OnlineJFS software.
If you do have this OnlineJFS then check man pages of fsadm for online filesystem extending.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 12:47 AM
02-28-2006 12:47 AM
Re: Cannot extend /tmp !
I suggest you to go on the single-user mode level (shutdown -ry 0 and stop the boot ---> bo pri ---> Interact with IPL? yes ---> hpux -is)
and then
lvextend -L
extendfs -F vxfs /dev/vg00/r
Once successfully init 3 and check the new /tmp size.
I think that should help you.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 12:48 AM
02-28-2006 12:48 AM
Re: Cannot extend /tmp !
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 12:51 AM
02-28-2006 12:51 AM
Re: Cannot extend /tmp !
You cannot unmount a file system is use, unfortunately /tmp is in use pretty much all of the time.
In order to extend it without online JFS, you will need to reboot the system into single user mode, mount /usr, /var and /opt and then extend /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 01:36 AM
02-28-2006 01:36 AM
Re: Cannot extend /tmp !
you can extend your tmp FS by not going into single user mode. You can acheive this by only a single reboot with a small modification sequence.
For details refer to the link provided in the previous response by Arunvijai.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 01:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 06:38 PM
02-28-2006 06:38 PM
Re: Cannot extend /tmp !
You received most good answer, so i won't repeat them, however I would like to mention
for the future it would be handy to have
a utility like lsof installed.
This gives more detail about activity
and connections then fuser.
It could still be that you conclude to
have to go to single user mode, but at least
you know why (i.e. which application is
have file handles open etc..), or in
the best case you can stop the relevant
application or process and do the
umount and lvextend steps.
You can get lsof from hp open sourde kit
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,4682,00.html
Hope this is handy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 07:32 PM
02-28-2006 07:32 PM
Re: Cannot extend /tmp !
I have done this steps :
- shutdown without arg to go to single-user mode
- lvextend
- umount /tmp
- extendfs
- mount
My problem was to switch to runlevel S because the system wait of a Return-Key (or perhaps any ey) after the message "Wait for transition to run-level S (allow 20 seconds)."
By waiting 20 sec. the system don't switch auf S-mode.
Regards
Thierry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 09:13 PM
02-28-2006 09:13 PM
Re: Cannot extend /tmp !
On my systems you need to hit spacebar on the heyboard in order to go to single user mode. Otherwise it will carry on !!
kyris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2006 01:40 AM
03-01-2006 01:40 AM
Re: Cannot extend /tmp !
So the only dependable method is to reboot, interrupt the boot process, and then use the ISL command: hpux -is
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2006 03:04 AM
03-01-2006 03:04 AM
Re: Cannot extend /tmp !
That explains some of my past probs with that. Nice one