List the paging space available in the system:
Table of Contents
Use lsps command.bash-3.00#
lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd3 hdisk0 myvolvg 4000MB 77 yes yes lv
You can also see the paging details in “prtconf” command.
bash-3.00# prtconf
<cut here>
Paging Space Information
Total Paging Space: 3968MB
Percent Used: 4%
Volume Groups Information
==============================================================================
myvolvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 320 68 xx..00..00..00..30
==============================================================================
Adding additional paging space : Use mkps command.
bash-3.00# mkps -a -n -s 32 myvolvg
paging00
bash-3.00#
Verify the newly added paging space:
Once added, you can see the paging space in /etc/swapspaces.
bash-3.00# cat /etc/swapspaces
* /etc/swapspaces
*
* This file lists all the paging spaces that are automatically put into
* service on each system restart (the 'swapon -a' command executed from
* /etc/rc swaps on every device listed here).
*
*
* This file is modified by the chps, mkps and rmps commands and referenced
* by the lsps and swapon commands.
hd3:
dev = /dev/hd3
paging00:
dev = /dev/paging00
Check the status using lsps command.
bash-3.00# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging00 hdisk0 myvolvg 4000MB 0 yes yes lv
hd3 hdisk0 myvolvg 4000MB 77 yes yes lv
bash-3.00#