System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Can swapon be executed in hpux -lm mode on HPUX 11.11

SOLVED
Go to solution
frederick hannah
Super Advisor

Can swapon be executed in hpux -lm mode on HPUX 11.11

# lvrmboot -s /dev/vg00/lvol2
#lvrmboot -d /dev/vg00/lvol2
I am planning on re-configuring primary swap on an internal drive with the procedures below.
I reduced primary swap from 25GB to 16GB on a test 11.11 server using the following procedures. My only question (second opinion) is can the procedures removing, re-adding, and enabling swap be done while in lm mode or did I get "lucky"?

# Reboot server into "hpux -lm" mode
# vgchange -a y /dev/vg00
# lvremove /dev/vg00/lvol2
# lvcreate -C y -s y -r n -n lvol2 -L 16384 /dev/vg00
# swapon /dev/vg00/lvol2
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -R
# lvlnboot -v /dev/vg00

2 REPLIES
Johnson Punniyalingam
Honored Contributor
Solution

Re: Can swapon be executed in hpux -lm mode on HPUX 11.11

Yes, You can , hence you are removing and recreating the swap logical volume, Better do in the hpux-lm mode.
Problems are common to all, but attitude makes the difference
frederick hannah
Super Advisor

Re: Can swapon be executed in hpux -lm mode on HPUX 11.11

Thank you, sir.