How to increase swap/pagefile size in IBM AIX server ?

Today we will see a quick way how to increase the pagefile size/swap size on an IBM AIX server.

Lets see it step by step.

1. Check current pagefile size on the server.

ngeaix001 --> lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type Chksum
hd6             hdisk0            rootvg       12288MB    63   yes   yes    lv     0
ngeaix001 -->

 

2. Provide LUN ID to the storage team to increase its size by required space.

 

3. Reexamine the disk on server to know if any changes have occurred to the Volume Group.

ngeaix001 --> chvg -g rootvg

 

4. Increase the size of the paging space by “128” logical partitions.

 ngeaix001 --> chps -s 128 hd6 

Sometimes we need to run above command multiple times on the server.
 

5. Check out the new increased size.

ngeaix001 --> lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type Chksum
hd6             hdisk0            rootvg       28672MB    27   yes   yes    lv     0
ngeaix001 -->

Leave a Reply

Your email address will not be published.