Operating System - HP-UX
1752589 Members
3768 Online
108788 Solutions
New Discussion юеВ

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 5
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

I am an HPE Employee
Accept or Kudo
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

I am an HPE Employee
Accept or Kudo
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