HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

swap issue

Indrajit Bhagat
Regular Advisor

swap issue

How to reduce the swap space, or how do i remove one of the logical volume that is currently utilized in swap space.

Point will be given.
Steven E. Protter
Exalted Contributor

Re: swap issue


swapinfo -tam

See what swap is allocated.

If there is more than one area you may safely eliminate one of them, sam is the simple way.

If however there is only one, you will need to do what you wish and set up a newer, smaller logical volume to be a smaller swap.

That means after lvremove you will need to do lvcreate and lvextend to the desired size.

The minimum size of swap for HP-UX is 50% of system RAM.



The reading will be helpful.

Steven E Protter
Owner of ISN Corporation
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: swap issue

James R. Ferguson
Acclaimed Contributor

Re: swap issue


In addition to my remarks in the post by me that Pete cited, if you are running 11.31 you can use 'swapoff' and skip the reboot necessary to deactivate the secondary swap.