- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Increase the size of /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
08-02-2002 12:59 AM
08-02-2002 12:59 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 01:07 AM
08-02-2002 01:07 AM
Re: Increase the size of /tmp
If you have OnlineJFS installed its going to be easy. Do you ? (swlist -l bundle will show it). If not then youre going to either;
1. reboot in single user mode from the console in order to unmount /tmp to extend it
2. Create a new /tmp lvol, edit /etc/fstab, reboot and it will activate on the new /tmp - then you can delete the old one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 01:10 AM
08-02-2002 01:10 AM
Re: Increase the size of /tmp
I usually use this procedure:
To extend the logical volume to 500 MB
1. Reboot and go to single user mode
2. Type: boot pri isl
3. Type: hpux -isl
4. mount -a
5. Check the logical volume of /tmp
5. If it is lvol5, then umount /dev/vg00/lvol5
6. lvextend -L 500 /dev/vg00/lvol5
7. extendfs /dev/vg00/lvol5
8. mount /dev/vg00/lvol5 /tmp
9. reboot
Regards,
Mateja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 02:52 AM
08-02-2002 02:52 AM
Re: Increase the size of /tmp
Nowadays /tmp doesn't really need to be very large as most stuff goes in /var. Do you really need to enlarge it? How big is it and how big are you going to make it? Maybe you should be looking at what's causing the demand for /tmp space?
Just a thought,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 03:06 AM
08-02-2002 03:06 AM
SolutionHow to extend /tmp without OnlineJFS, which is by far the best solution, I usually do the following:
Create a new filesystem with the desired size, mountpoint /tmp2
go to /etc and edit fstab
swap the devices for /tmp and /tmp2 and reboot
lvremove the previous tmp volume and remove /tmp2
Mateja's solution has the same effect, but you need to remember a lot more
How this will affect mirroring I don't know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 04:32 AM
08-02-2002 04:32 AM
Re: Increase the size of /tmp
Do the make_tape_recovery and then boot with that tape and redefine the file systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 07:56 AM
08-06-2002 07:56 AM
Re: Increase the size of /tmp
Would appreciate any info on how the mirror would be affected - I plan to boot into lvm maint' mode (hpux -lm) in order to make the changes. I've tried on a 'spare' machine here under 11i (no mirrors) and it seems to work fine but am naturally cautious about doing it on a live machine with mirrored root disk. I'm now trying to get mirror set-up on spare machine and see what happens ... will update as I get more info for you!
Regards, Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 07:59 AM
08-06-2002 07:59 AM
Re: Increase the size of /tmp
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 01:14 AM
08-07-2002 01:14 AM
Re: Increase the size of /tmp
I've also now tried the shrinking/extending exercise on our d/r system, with mirroring and confirmed (mainly for the benefit of the system manager of the live machine) that it will work just fine and, as Bill indicates; the changes are transparent to mirrordisk/UX.
The issue of having enough extents seems to be catered for by my stealing 400MB from swap and then adding same (or slightly smaller - as it needs to round-up to extent points) to the /tmp area.
Again - Thanks to everyone.
PS: I like the idea of using ignite to do the size changes ... but I think the sys.mgr would end up a nervous wreck if I told him I intended reinstalling the opsys for something he sees as "a very minor change" ... Hmmmph!