Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
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.
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: swap issue

Shalom,

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.

http://docs.hp.com/en/5992-4580/ch03s03.html

http://docs.hp.com/en/B2355-90950/ch06s03.html

The reading will be helpful.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
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

Hi:

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.

Regards!

...JRF...