- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increase of swap space
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
09-30-2002 03:06 AM
09-30-2002 03:06 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 03:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 03:18 AM
09-30-2002 03:18 AM
Re: Increase of swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 03:23 AM
09-30-2002 03:23 AM
Re: Increase of swap space
The only way to do it is to add a secondary swap.
lvcreate -L size vgxx
Add line in /etc/fstab as follows:
/dev/vgxx/lvoly /swap/swap defaults 0 0
swapon -a
where size is the size ofthe additional swap space you want
vgxx is the vg where you want the new swap to be
lvoly is the name of the new logical volume swap.
Before that, you need to add a new disk and vgextend it to your current vg.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 03:27 AM
09-30-2002 03:27 AM
Re: Increase of swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 04:18 AM
09-30-2002 04:18 AM
Re: Increase of swap space
Regardless of the contiguous policy, you can add secondary swap on another disk. There is no need to move your existing swap.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 04:38 AM
09-30-2002 04:38 AM
Re: Increase of swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 04:56 AM
09-30-2002 04:56 AM
Re: Increase of swap space
Yes, you can define an additional secondary swap for that.
If your primary swap is 1Gb, define a secondary swap of let's say 1Gb, so that your total will be 2Gb of swap space.
Use the cookbook I gave you earlier.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 05:39 AM
09-30-2002 05:39 AM
Re: Increase of swap space
In that case, your best bet would be to build an Ignite tape with make_tape_recovery, as Harry suggested, and use it to rebuild your system. You can resize things during the reload.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 05:40 AM
09-30-2002 05:40 AM
Re: Increase of swap space
First, 'pvmove' can move logical volume extents only *within* a volume group's physical volumes. If you have only one physical volume comprising a volume group, 'pvmove' has no meaning. If you had a volume group of two or more physical volumes, you could use 'pvmove' to rearrange logical volumes. Accomodating the enlargement of the primary swap device by this method is difficult at best. It is easier to find other contiguous space on the root volume group and create a new primary swap there. Alternately, you could use an Ignite recovery tape to resize your filesystes (including primary swap) during a reinstall.
It is far easier to create a secondary device swap on another (non-vg00) volume group and specify an equal swap priority to achieve an interleaving of I/O for best performance.
However, it appears that you really want to increase dump space which is currently shared with your primary swap. If this is the case,
you can create a new logical volume (either in vg00 or in a new volume group).
Add an entry to '/etc/fstab' that looks like:
/dev/vg01/lvol1 ... dump defaults 0 0
Then, modify '/etc/rc.config.d/crashconf' to:
CRASHCONF_READ_FSTAB=1
Finally, to verify, do:
# /sbin/crashconf -a
# /sbin/crashconf -v
For more information, see the "System Crash Dump" white paper:
http://docs.hp.com/hpux/onlinedocs/os/syscrash.html
Regards!
...JRF...