This document describes how to reduce the size of the default paging space (hd6). This information applies to AIX Version 4.x.
WARNING: Please do not use this document if the system is a /usr client, diskless client, or dataless client.
The product documentation library is also available:
http://www.rs6000.ibm.com/resource/aix_resource/Pubs/index.html
lsps -a
If there is more than one paging space in rootvg, note their names (listed in the Page Space column) and go to step 3.
If there is just one paging space in rootvg (it will be be named hd6), continue with step 2.
lsvg -p rootvg
Create a paging space to use temporarily with the following command. X is a number between 1 and the total number of free PPs shown in the lsvg output.
mkps -s X -a rootvg
Run lsps -a again and note the name of the new paging space (probably paging00).
chps -a n hd6
"/sbin/rc.boot"
Change the line swapon /dev/hd6 to swapon /dev/pagingXX, where XX is the number of one of the paging spaces found in step 1, or the number of the new paging space created in step 2.
lslv -m hd5WARNING: Do not proceed further if the system is a /usr client, diskless client, or dataless client.
bosboot -a -d /dev/hdisk#
shutdown -Fr
sysdumpdev -lIf the primary or secondary dump device is set to hd6 then reset the pointer. Enter:
sysdumpdev -P -p /dev/sysdumpnull
rmps hd6 mklv -y hd6 -t paging rootvg <PS size in logical partitions>
"/sbin/rc.boot"
Change the swapon line back to swapon /dev/hd6.
lsps -ato see if hd6 is marked to be automatically swapped on at boot time. This is determined by a y under the auto column for hd6. If an n is under the auto column, run:
chps -a y hd6to change the characteristics of the default paging space.
bosboot -a -d /dev/hdisk#
chps -a n paging00
shutdown -Fr
rmps paging00
sysdumpdev -P -p /dev/hd6
[ Doc Ref: 90605221014598 Publish Date: Oct. 17, 2000 4FAX Ref: 2565 ]