Increase paging space logical volume size

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        1024MB     1   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 2 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:      00c4489d00004c00000001354404cb5c.2 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               paging                 WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE: 128 megabyte(s)
COPIES:             2                      SCHED POLICY:   parallel
LPs:                8                      PPs:            16
STALE PPs:          0                      BB POLICY:      non-relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       center                 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 128M so in order to increase the paging space size to 2Gig we need 8 PP’s

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: