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.
Hours:
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
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Add swap and rebuild kernel on Itanium (hp-ux 11:23)

 
SOLVED
Go to solution
Alex Ferreira
Frequent Advisor

Add swap and rebuild kernel on Itanium (hp-ux 11:23)

G'day all,

I have to add more swap space on an itanium box we have. I will be using a whole disk for swap. Now, I have done the following.

1.pvcreate /dev/rdsk/c29t7d0
2.vgextend /dev/vgswap /dev/dsk/29t7d0
3.lvcreate -L 8192 -n swap2 /dev/vgswap
4.swapon /dev/vgswap/swap2

Now, the message I am getting is:
"The kernel tunable parameter "swchunk" needs to be increased to add paging on device /dev/vgswap/swap2"

I guess the above is asking that I increase swchunk. I am not sure what the steps are to rebuild a kernel on an itanium.

I guess my question is, 1)am I doing the correct thing with trying to add the extra swap to an entire disk, and 2) what are the steps on rebuilding the kernel on an itanium.

Thanks dearly,

Alex
5 REPLIES
Solution

Re: Add swap and rebuild kernel on Itanium (hp-ux 11:23)

Alex,

Very simple...

kctune swchunk=

then reboot

shutdown -r -y 0

Look at the man page for swchunk to figure out the value you need to set it to.

HTH

Duncan

HTH

Duncan
Alex Ferreira
Frequent Advisor

Re: Add swap and rebuild kernel on Itanium (hp-ux 11:23)

Duncan,

legend for replying so quickly. I have changed swchunks accordingly. Thanks mate.

Can I ask you if the steps I have taken are correct in creating the swap?

Alex

Re: Add swap and rebuild kernel on Itanium (hp-ux 11:23)

Alex,

Looks OK, but you do need to add the additional swap into /etc/fstab as well so it gets activated automatically at boiot time.

HTH

Duncan

HTH

Duncan
Alex Ferreira
Frequent Advisor

Re: Add swap and rebuild kernel on Itanium (hp-ux 11:23)


Duncan,

I very much appreciated your response. Cheers mate,

Alex
Alex Ferreira
Frequent Advisor

Re: Add swap and rebuild kernel on Itanium (hp-ux 11:23)

Once again, thank you Duncan.

Alex