- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to 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-26-2006 06:31 PM
02-26-2006 06:31 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 06:51 PM
02-26-2006 06:51 PM
Re: How to extend /tmp ?
First check if you have OnlineJFS,
#swlist | grep OnLineJFS
if you do have it, you can use SAM to extend /tmp
if you don't have it,
you must to unmount /tmp and then
# umount /dev/vg00/lvol6
# lvextend -L wanted_size /dev/vg00/lvol6
# extendfs -F vxfs /dev/vg00/rlvol6
# mount /dev/vg00/lvol6
regards,
Sandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 07:05 PM
02-26-2006 07:05 PM
Re: How to extend /tmp ?
Files in /tmp commonly grow too much and restart of applications normally clears them. Apart from this somebody might have put some test files in /tmp as well. How much is the space allocated to /tmp.
Online JFS will allow you to grow the size on the fly. Without Online JFS you can do it by rebotting the server and going into single use mode. An alternate to avoid reboot if do not have Online JFS is you create some new small file system and mount it on /tmp/abc where abc is the directory taking more space in /tmp, this particular atleast should be stopped while mounting file system and the file from /tmp/abc should be removed or moved to new file system.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 07:21 PM
02-26-2006 07:21 PM
Re: How to extend /tmp ?
Some applications may use the /tmp while running in multiuser mode.
I suggest you to Boot the system into single user mode and do the above action, and boot it back to multi user mode to avoid any issues.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:12 PM
02-26-2006 08:12 PM
SolutionFirstly, if you have Online JFS , u wouldn't have much issues, please follow as directed by the previous response.
If not, it is important you need to go the single user mode, as the multi user mode would not allow you to umount tmp volume for extending.
There is a simple solution though, for not going to single user mode.
in my example
$ bdf /tmp
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 2097152 4976 2078200 0% /tmp
i) extend your tmp lv,
lvextend -L
ii) edit /etc/inittab
before brcl entry (NOTE : very important) add the following...
fsxt::sysinit:/sbin/extendfs /dev/vg00/lvol4
Now reboot the box.
Once the system is up, you will have your tmp volume extended to your desired size.
Now you can remove the entry that u added to your /etc/inittab file and save it.
Advantage is ,you do not require to go to sungle user mode.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:15 PM
02-26-2006 08:15 PM
Re: How to extend /tmp ?
I don't have GSP configured in the server. How the server can be put on 'single user mode'? I can't see the booting process. So I can't see the '10sec' message too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:26 PM
02-26-2006 08:26 PM
Re: How to extend /tmp ?
As others specified, Do you have onlineJFS installed on your server? Also, check this thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=941949
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:30 PM
02-26-2006 08:30 PM
Re: How to extend /tmp ?
As i have told in my earlier post, if you follow that method, u don't require to go to single user mode. Consequently u would not require GSP prompt either. Please read my previous response.
Regards,
Senthil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:32 PM
02-26-2006 08:32 PM
Re: How to extend /tmp ?
If you can't go to the single user mode, then you may want to try Senthil Kumar suggestion to edit the inittab, so you don't have to go to single user mode
regards,
Sandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:40 PM
02-26-2006 08:40 PM
Re: How to extend /tmp ?
fsxt::sysinit:/sbin/extendfs /dev/vg00/lvol4 /dev/console 2>&1 brc1::bootwait:/sbin/bcheckrc /dev/cons
ole 2>&1 # fsck, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:54 PM
02-26-2006 08:54 PM
Re: How to extend /tmp ?
The line looks fine to me, no comments required.
But 2 checks,
1) is you tmp volume /dev/vg00/lvol4
2) Have u already performed lvextend on tmp volume, if so ,does your lvdisplay on that volume show the new size ?
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:56 PM
02-26-2006 08:56 PM
Re: How to extend /tmp ?
My yahoo ID is , senthil_anantha@yahoo.com.au
if you want my help, I'm available online on chat.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 08:59 PM
02-26-2006 08:59 PM
Re: How to extend /tmp ?
Yes, your 2 checks are okay.
should I reboot the server with 'fsxt' command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:02 PM
02-26-2006 09:02 PM
Re: How to extend /tmp ?
Just reboot normally,
shutdown -ry 0
Thats it,
Keep on pinging the HPUX box, from ur workstation
ping
once it comes up again, then login and check the /tmp fs size with ..
bdf /tmp
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:16 PM
02-26-2006 09:16 PM
Re: How to extend /tmp ?
I rebooted the server with the changed setting in inittab. But the /tmp is not showing the new value. Still old value is showing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:22 PM
02-26-2006 09:22 PM
Re: How to extend /tmp ?
are u online in yahoo,
My yahoo Id is : senthil_anantha
msn : senthil.anantha@hotmail.com
I'm currently online in yahoo chat and msn.
It would be lot easier if u are on yahoo or msn chat.
Regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:23 PM
02-26-2006 09:23 PM
Re: How to extend /tmp ?
Now as you do not have physical/remote access through MP/GSP and you do not have even Online JFS you can not do anything. Single user mode access is a mendatory access for increasing file systems.
BTW did you increased the LVOL using lvextend prior the reboot?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:26 PM
02-26-2006 09:26 PM
Re: How to extend /tmp ?
Regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:32 PM
02-26-2006 09:32 PM
Re: How to extend /tmp ?
Before 224kb and I extend it to 500m.
lvdisplay is showing 512m. But bdf does not showing that size.
I am not configured to yahoo messenger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:34 PM
02-26-2006 09:34 PM
Re: How to extend /tmp ?
MSN, AOL ....
give me your ID, i will contact you.
regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 09:54 PM
02-26-2006 09:54 PM
Re: How to extend /tmp ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 10:49 PM
02-26-2006 10:49 PM
Re: How to extend /tmp ?
The correct entry in /etc/inittab is
fsxt::bootwait:/sbin/extendfs -F vxfs /dev/vg00/rlvol4 /dev/console 2>&1
need to use "bootwait" instead of "sysinit" in my steps given in the previous reponses.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 11:16 PM
02-26-2006 11:16 PM
Re: How to extend /tmp ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2006 06:47 PM
02-28-2006 06:47 PM
Re: How to extend /tmp ?
was very handy, I am glad you opened it.
Well done.
However, I am stunned there were no points
awarded. I say 100points at least for your man there.
Well that's my 2 penny's worth.