Making the hd6 paging space smaller
The following procedure uses the chps command to shrink existing paging spaces, including the primary paging space and the primary and secondary dump device.
- Creates a temporary paging space in the same volume
- Moves information to that temporary space
- Creates a new, smaller paging space in the same volume
- Removes the old paging space
For the chps command to complete successfully, enough free disk space (space not allocated to any logical volume) must exist to create a temporary paging space. The size of the temporary paging space is equal to amount of space needed to hold all the paged out pages in the old paging space. The minimum size for a primary paging space is 32 MB. The minimum size for any other paging space is 16 MB.
- Check your logical volume and file system distribution across physical
volumes by typing the following command:
lspv -l hdiskXWhere hdiskX is the name of your physical volume.
- To shrink the paging space size, type the following on the command
Priority is given to maintaining an operational configuration. System checks can lead to immediate refusal to shrink the paging space. Errors occurring while the temporary paging space is being created cause the procedure to exit, and the system will revert to the original settings. Other problems are likely to provoke situations that will require intervention by the system administrator or possibly an immediate reboot. Some errors may prevent removal of the temporary paging space. This would normally require non-urgent attention from the administrator.
Do not attempt to remove (using rmps) or reactivate (using chps) a deactivated paging space that was in the I/O ERROR state before the system restart. There is a risk that the disk space will be reused and may cause additional problems.