Use this command at the System Console prompt to display information about swap files, to add or delete swap files, and to specify the parameters of swap files.
SWAP [ADD vol_name [parameter = value]] [DEL vol_name] [PARAMETER vol_name parameter = value]
If a swap file is being used when it is deleted, then the swapped data is moved to another swap file. If there is no other swap file, an error message is displayed and the file is not deleted.
You can create one swap file per volume. The swap file for the Sys volume is created by default; you can delete it if necessary.
Data moved to disk by virtual memory will be stored in any available swap file; it does not matter which volume the swap file is on. Generally, you will place swap files on the fastest volume or the one with the most available space.
You can add a swap file to a volume by executing the SWAP ADD command, even if the volume is not mounted. Once you've added the swap file, the file will be created when you mount the volume.
When you dismount a volume, the swap file is deleted. To keep a swap file on that volume, you must create the swap file again. The exception is the sys: volume swap file, which is created by default. For convenience, place the commands to create swap files into the autoexec.ncf file so the files will be created each time the server is started.
Swap files are dynamic; they change size as data is swapped in and out of memory.
|
Topic |
See |
|---|---|
|
Other options for managing the Swap files in NetWare |
|
|
Virtual Memory |
|
|
Using swap files |
|