Procedure

You can use SMIT to increase the amount of page space or create a new page space, or you can use these instructions:

Start

  1. Log on to AIX as root, if you are not logged on already.
  2. Determining the current page space: Type the following command, then press Enter:
    lsps -a

    The system displays the number of page spaces defined and the size of each page space logical volume.

  3. Calculating how many logical partitions to add: Note how much page space is currently defined for the volume that needs a larger amount of page space.

    If you need to increase the page space by 40 MB, and the size of a logical partition is 2 MB, you need to add 20 logical partitions. If the size of a logical partition is 4 MB, you need to add 10 logical partitions.

    There are two ways of increasing the page space:

    • Add logical partitions to the existing page space
    • Create a new page space.
  4. Adding logical partitions: Type the following command, then press Enter:
    chps -s number_of_logical_partitions page_space_name

    For example:

    chps -s 9 paging00

    The system adds nine logical partitions to the paging00 logical volume.

  5. Creating new page space: Type the following command, then press Enter:
    mkps -s number_of_logical_partitions -n -a volume_group_name physical_volume

    where number_of_logical_partitions is the number you need for the new page space. For example:

    mkps -s 10 -n -a rootvg hdisk2

    The system creates a new page space containing 10 logical partitions on the rootvg logical volume, using the physical disk hdisk2.