How to create/increase/decrease/remove/disable the paging space in aix?
LIST
How
to list out all the paging space details?
#lsps –a
How
to list out the consolidate paging space size?
#lsps –s
CREATE
How
to create the paging space
#mkps
–s <no of pp> -n –a rootvg mkps –s 8 –n
–a rootvg
INCREASE
How
to Increase the Paging space?
#chps
–s <no of pp> <paging name>
chps –s 8 paging00
DECREASE
How
to decrease the paging space?
#chps
–d <no of pp> <paging name>
chps –d 4 pagin00
DELETE
How
to delete the paging space?
#swapoff
/dev/<paging name> swapoff
/dev/paging00
#rmps
<paging name>
rmps paging00
CONFIGURATION FILE
All
the paging space is defined in /etc/swapspaces. # cat
/etc/swapspaces
ENABLE
How
to enable the paging space? #swapon /dev/pagin00
DISABLE
How
to disable the paging space? #swapoff /dev/paging00