How to Increase paging space logical volume size in AIX ?

To show the current paging space volume, its size along with other information use the ‘lsps’ command:

# lsps -a
Page Space      Physical Volume   Volume Group Size %Used Active  Auto  Type Chksum
hd6             hdisk1            rootvg         512MB     2   yes   yes    lv     0

The paging space may be increased on the fly using the ‘chps’ command. In order to increase this paging space to 16 GB we need to to find out the PP size, since chps will increase the paging space by the specified number of PP’s

# lslv hd6
LOGICAL VOLUME:     hd6                    VOLUME GROUP:   rootvg
LV IDENTIFIER:      0005e4b80000d7000000013e5a69cf95.2 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               paging                 WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        256 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                2                      PPs:            2
STALE PPs:          0                      BB POLICY:      non-relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    32
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: off
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?:     NO
INFINITE RETRY:     no
#

On this system is the PP size 256M so in order to increase the paging space size to 2Gig we need 62 PP’s

# chps -s 62 hd6
# lsps -a
Page Space      Physical Volume   Volume Group Size %Used Active  Auto  Type Chksum
hd6             hdisk1            rootvg       16384MB     1   yes   yes    lv     0
#

Leave a Comment

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

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top