Kernel-Managed Swap Facility (KMSF) Manual

NSKCOM Command Reference
Kernel-Managed Swap Facility (KMSF) Manual425824-005
4-4
ADD Command
FORMAT {0 | 1 | 2}
specifies the type of swap file format to be used. When format 0 is specified on
the command line, the system chooses the file format to be used, based on the
file’s size parameters. See Table 1-1 on page 1-9 to see how the values of
extents, maxextents, and size change according to the format of the swap file
used.
In Example 4-1, a swap file with a file size of 128 megabytes is added for CPU 1.
If there is no room on the disk to add the swap file, NSKCOM displays the following
error:
*** File Error 43: Can't allocate extents.
You may create swap files for processors that are not currently running. KMSF adds
the swap files to the ZSYSCFG file. Once the processor is up, you can use the START
command to enable use of the swap files.
You cannot use the ADD command to create swap files on disks that are not currently
up.
Example 4-1. ADD Command
NSK-ADD SWAPFILE $SWAP.KERSWAP.CPU01A, CPU 1, SIZE 128 MB
File $SWAP.KERSWAP.CPU01A was added to ZSYSCFG
ADD was successful: $SWAP.KERSWAP.CPU01A
NSK-