- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap Space
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
04-25-2003 04:00 AM
04-25-2003 04:00 AM
Can I reduce the size of the 2 gig swap in vg00 by 1 gig, and put that 1 gig on an EMC drive? If I can, what would be the shortcomings?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 04:19 AM
04-25-2003 04:19 AM
Re: Swap Space
Reducing the size of primary swap is possible but requires at least two reboots and the use of LVM maintenance mode. See Technical Knowledge Base doucment #KBRC00004288 for the details.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 04:44 AM
04-25-2003 04:44 AM
SolutionYes that's possible, but as pointed out it's a lot of work.
You may wish to consider the alternative - extend vg00 with a LUN from the EMC array.
This is easy IF the constraining LV(s) are /var, /usr or /opt AND you have OnLine JFS. But if it's / or /stand that's short you'd have to reorganize vg00 using an Ignite tape.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 05:22 AM
04-25-2003 05:22 AM
Re: Swap Space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 05:33 AM
04-25-2003 05:33 AM
Re: Swap Space
The downside of 'vgextend'ing another disk into vg00, *unless* you don't care if you keep a multi-volume vg00, is that when done, you will need to reduce both the filesystem and the logical volume that you enlarged.
Then, unless you have Online JFS 3.3 the liklihood of a successful dynamic reduction of the filesystem is poor. In that case, in order to reduce the filesystem you will need to back it up; recreate it; and reload it. Most likely this will need to be done in single user mode.
Long range, you might consider purchasing a larger physical disk for vg00 and re-igniting (with 'make_tape_recovery' your system onto it to give you the space you need. If that isn't an option, perhaps the reduction in primary swap *is* worthwhile. Of course, add secondary swap space on another physical device to compensate.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 05:43 AM
04-25-2003 05:43 AM
Re: Swap Space
I just wanted to cast a tiebreaking vote here and side with JRF. It will be much easier to take a PV from your EMC and put it in some other VG [other than vg00] or even create a new VG and make a filesystem just for loading your patch bundle. Then, you can blow it away when you are done without messing with the rest of the system. The patch bundle should be happy loading from most any place as long as there is enough room for it to live.
The hardest thing to do would be to grab some space from swap. I would only consider that as a last resort.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 07:18 AM
04-25-2003 07:18 AM
Re: Swap Space
What is really needed is an increase in allocation to vg00 on the EMC followed by an increase in the /var filesystem.
If you have online JFS you should be able to get through it without a boot if you're 11.11. Otherwise its single user mode to expand /var
I'd like to see a bdf or a bdf /var
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
04-25-2003 07:23 AM
04-25-2003 07:23 AM
Re: Swap Space
and added secondary swap on
and when I moved /tmp to the symm I got a very surprising boost in performance.
/tmp on /dev/vgsymtmp/lvsymtmp
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2003 09:04 AM
04-25-2003 09:04 AM
Re: Swap Space
Look also at the cleanup command to help with /var/adm/sw and perhaps consider moving that directory to another volume group. This directory can get VERY big and is very seldom used except when installing software and patches.
Bill Hassell, sysadmin