Skip to content
Home » AIX » How AIX Resize SWAP Paging Space

How AIX Resize SWAP Paging Space

We have learned about how to check current usage of paging space in the previous post, let's see how we change the value in this post.

[root@primary01 /]# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used   Active    Auto    Type   Chksum
hd6             hdisk0            rootvg         512MB     2     yes     yes      lv       0

Increase Paging Space

It's 512 MB currently, which is 1 logical partition in the system. Now, we'd like to raise it to a larger size, say 16 GB which requires additional 31 logical partitions.

[root@primary01 /]# chps -s 31 hd6

We have add some space on /dev/hd6. Let's check it again.

[root@primary01 /]# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used   Active    Auto    Type   Chksum
hd6             hdisk0            rootvg       16384MB     0     yes     yes      lv       0

Now, we have 16 GB of paging space.

Reduce Paging Space

On the other side, we can use -d option to subtract some logical partitions from it to reduce the size of paging space.

For example, if we'd like to revert the adding action in the above, we can do this:

[root@primary01 /]# chps -d 31 hd6

The space is reduced.

Leave a Reply

Your email address will not be published. Required fields are marked *