Create Paging Space

To add a new paging volume, and mirror it do:

bash-3.00# lspv
hdisk0          00c6830fa1b6c4ed                    rootvg          active
hdisk1          00c6830fa1b6c546                    rootvg          active
hdisk2          00c6830faffd189f                    None
hdisk3          none                                None


bash-3.00# mkvg -y csts5_pagevg1 hdisk2
csts5_pagevg1
bash-3.00#
bash-3.00#
bash-3.00# mkps -a -s 527 csts5_pagevg1
paging00
bash-3.00# extendvg -f csts5_pagevg1 hdisk3
bash-3.00# mirrorvg csts5_pagevg1 &
[1] 655444
bash-3.00# 0516-1804 chvg: The quorum change takes effect immediately.

bash-3.00# swapon -a
0517-075 swapon: Paging device /dev/hd6 is already active.
swapon: Paging device /dev/paging00 activated.

bash-3.00# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
paging00        hdisk2            csts4_pagevg1 33728MB     1   yes   yes    lv
hd6             hdisk0            rootvg       32768MB     1   yes   yes    lv

To expand existing paging space in the rootvg just do:

chps -s 96 hd6

Where 96 is the amount of LPs you want to add to the paging space and hd6 is the LV name of the paging space

 
aix/aix-create-pagingspace.txt · Last modified: 05/04/2022 23:44 by andrew