Increasing the Size of a Paging Space
Technote (FAQ)
Question
Increasing the size of a paging space.
Answer
Environment
OS level: AIX 4.3.3 and above
The following are the steps and an example of how to increase the size of a paging space.
1. Determine the Physical Partitions (PP) size of the volume group, enter:
 # lsvg rootvg
3. Determine what hdisk the paging space is on and if there are free PP's by running:
 # lsps -a
 Page Space Physical Volume   Volume Group      Size %Used Active Auto Type
 hd6        hdisk0            rootvg            512MB 1     yes    yes  lv

So hd6 is on hdisk0.
Now determine if there are free PP's. Enter the following:
# lsvg -p rootvg
rootvg:
PV_NAME     PV STATE    TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0      active      542         484         108..92..67..108..10

7. How much more do you want to add? For example, if adding 1.5G (1536M), you would need an additional 48
partitions.
Amount needed (1536M) divided by PP Size (32M)equals number of additional logical partitions.
1536mg/32mg = 48 partitions
8. Add the additional number of partitions.
# smit pgsp
     Choose Change/Show Characteristics of a paging space.
     Choose your paging space.
For example:
hd6, paging00, paging01....
At the NUMBER of additional logical partitions line, input the number derived in item 3
above (from the example, this would be 48).
 Press Enter after making all desired changes.
9. Verify paging space size, enter:
 # lsps -a
Page Space Physical Volume    Volume Group Size %Used       Active Auto Type
hd6         hdisk0            rootvg 2048MB      1          yes    yes   lv