1833415 Members
3557 Online
110052 Solutions
New Discussion

Paging space in HP-Unix.

 
unixguy_1
Regular Advisor

Paging space in HP-Unix.

Dera Friends,

How to increase the paging space in HP-Unix.

Pls guide me something about this....

Thanks in Advance,
Regards,
Unixguy.

8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: Paging space in HP-Unix.

You could use SAM to help you increase swapspace. Do you have free disk space?
Avinash20
Honored Contributor

Re: Paging space in HP-Unix.

hi,

Please refer to
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=89925

This will answers most of your queries
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Paging space in HP-Unix.

If interested to know about swap

http://docs.hp.com/en/B2355-90672/ch06s03.html
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Emil Velez
Honored Contributor

Re: Paging space in HP-Unix.

You increase the paging space in hpux by adding swap. The amount of programs you can run is based on your memory plus real swap space. The amount of memory you have basically will prevent swapping which is a performance issue.

Johnson Punniyalingam
Honored Contributor

Re: Paging space in HP-Unix.

Hi Unixguy,

Steps to Extend the swap space in HPUX,

step1:-

vgdisplay -v /dev/vg0X -> to check if you have Free disk space if (Yes)

step2:-

Create the logical volume for your secondary swap:

Example
# lvcreate -L 128 /dev/vgxx

Verify the logical volume:
# lvdisplay /dev/vgxx/lvolxx

Use SAM to declare your new secondary swap or use the command line:
# swapon /dev/vgxx/lvolxx

Verify it has been added in "/etc/fstab" when using SAM, or add it manually when using the command line.

Example:
/dev/vgxx/lvolxx . swap defaults 0 0


Thx,
Johnson
Problems are common to all, but attitude makes the difference
sujit kumar singh
Honored Contributor

Re: Paging space in HP-Unix.

Hi J0hnson,

Would like to correct u a bit.

The LV for swap use must have the contiguous and the strict policies set to it.

That is for an LV that u want to use as a swap for the HP-UX system , must be created with the -c y and -s y options while creating the LV and then we can swapon that LV and/or make an entry in /etc/fstab fpr that.

sujit kumar singh
Honored Contributor

Re: Paging space in HP-Unix.

the correct option for creating a swap LV is -C y and -s y ....


NOTE that i put -c y on the earlier reply.

The Contiguous and strict policies are reqd by a swap space taking into the following things in consideration:

1) the spcae is contiguous means contiguous PEs are made available to the swap LV that we are creating and that one swap LV as created cannot span disks.
2) the strict policy means that the mirror of this LV will surely be on other PV in the VG.
3)the swap space if this is a primary swap also functions as the dump space where no fileystem exists and at the system reboot following a crash of the system the crash data is read from this LV and the same is copied onto the crash directory as defined by us .. which is by default /var/adm/crash
Johnson Punniyalingam
Honored Contributor

Re: Paging space in HP-Unix.

Hi sujit kumar singh
<< Many Thanks for your reply<<

My reply to pertainting to Increase the swap space.

Mentioned earlier
Use SAM to declare your new secondary swap or use the command line:


Thx,
Johnson
Problems are common to all, but attitude makes the difference