Kernel-Managed Swap Facility (KMSF) Manual
NSKCOM Command Reference
Kernel-Managed Swap Facility (KMSF) Manual—425824-005
4-13
Notes and Considerations
represented by a ‘.’. The user can press the Break key to abort the operation at any
point. If the swap file is not currently in use, it is deleted immediately after cleaning.
Notes and Considerations
•
DELETE mark
When you enter this command, a DELETE mark is added to the file’s entry in the
configuration file, ZSYSCFG. Default swap files are not listed in the ZSYSCFG file
but are marked internally by KMSF.
After this command has been entered, NSKCOM shows the status of the file as
either “DELETE” or “Delete Pending.”
•
DELETE mark and loads and reloads
The DELETE mark is persistent across system loads and processor reloads: a
swap file that is marked for DELETE retains the DELETE mark on system load or
processor reload and is not put into use. (The file is deleted the first time a
super-group user (255, n) runs NSKCOM.)
•
Cleaning files
To ensure the privacy of data, a swap file is not deleted until the file has been
“cleaned,” that is, the file’s data is physically deleted from the disk (overwritten with
blank data). Cleaning of a file can take up to 2 minutes for 64 megabytes.
•
Deleting a file that is in use
If you attempt to delete a swap file that is still in use, NSKCOM generates error
messages to alert you that the file is in use and then marks the file for deletion.
Example 4-8 on page 4-14 shows a DELETE command entered against a file that
Example 4-7. Deleting a Stopped File
NSK-STOP SWAPFILE $SWAP.KERSWAP.CPU01B
File $SWAP.KERSWAP.CPU01B Stop Pending altered in ZSYSCFG
STOP was successful: $SWAP.KERSWAP.CPU01B
NSK-STATUS SWAPFILE $SWAP.KERSWAP.CPU01B
Status of $SWAP.KERSWAP.CPU01B
Not currently in-use.
NSK-DELETE SWAPFILE $SWAP.KERSWAP.CPU01B
Cleaning $SWAP.KERSWAP.CPU01B...Please wait.
Each '.' represents one extent cleaned.
Press the BREAK key to abort the operation.
............................
Swapfile deleted from disk.
File $SWAP.KERSWAP.CPU01B was deleted from ZSYSCFG
DELETE was successful: $SWAP.KERSWAP.CPU01B
NSK-