1752781 Members
6751 Online
108789 Solutions
New Discussion юеВ

Re: Decrace swap

 
SOLVED
Go to solution

Decrace swap

Hi,

HP-UX 11i v31

I need help for decrase the swap/dump from 8192 to 4096 in /dev/vg00/lvol2

If a go to sigle user mode the swap steel active or not

Were i can find the step for.

Tanks

Claude
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor
Solution

Re: Decrace swap

Hi Claude:

This is your primary swap and you can't decrease it --- it's always "in use".

If the issue is that you want more free space on vg00 for non-operating-system (OS) logical volumes, resist that temptation! Volume group zero (vg00) should only have the standard logical volumes belonging to HP-UX. This makes potential server recoveries, server OS upgrades, and server cloning cleaner and easier than if you add non-OS logical volumes to volume group vg00.

Regards!

...JRF...
TY 007
Honored Contributor

Re: Decrace swap

Hello,

Assisted my colleague last month on similar action.

1. Boot to LVM Maintenance Mode

2. # vgchange -a y /dev/vg00

3. # lvreduce -L 4096 /dev/vg00/lvol2

4. # lvdisplay /dev/vg00/lvol2

5. # lvdisplay -v /dev/vg00/lvol2

Thanks

Re: Decrace swap

Hi,

How can i boot to LVM Maintenance Mode!

Thanks.
Steven E. Protter
Exalted Contributor

Re: Decrace swap

Shalom,

All swap changes require a reboot to take effect.

You can use sam to decrease it but it won't change anything until you boot.

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
Geoff Wild
Honored Contributor

Re: Decrace swap

LVM Maintenance mode - Reboot system.

On console:

Interact with IPL> Y

IPL> hpux -lm


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
DCE
Honored Contributor

Re: Decrace swap



Claude,

Please be aware that you may affect your systems performance by decreasing the swap on vg00 without either activating psudo-swap, or adding swap in a different vg - especially if you have more than 4GB of memory.

Re: Decrace swap

Thanks all.