Deactivates one or more paging spaces.
swapoff DeviceName { DeviceName ...}
The swapoff command deactivates one or more paging spaces. The paging spaces are specified by DeviceName. To be deactivated:
Value | Description |
0 | Deactivation is successful, the paging state is set to the INACTIVE state. |
1 | The following message displays:
swapoff: Cannot deactivate paging space DeviceName |
2 | There is not enough space in the remaining paging spaces, the deactivation
is not done and the following message displays:
"swapoff: Cannot deactivate paging space DeviceName :
There is not enough space in the file system." |
3 | An I/O error occurred on user pages of a paging space, the following
message displays:
swapoff: Deactivation of paging space DeviceName suspended:
I/O errors encountered on user backing pages.
The recommended action is:
|
4 | An I/O error occurred on system pages of a paging space, the following
message displays:
swapoff: Deactivation of paging space DeviceName suspended:
I/O errors encountered on system backing pages. The system may crash.
The recommended action is:
|
The swapon command.
The Paging Space Overview in AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.