Removes an inactive paging space.
rmps[ -t ps_helper] PagingSpace
The rmps command removes an inactive paging space. The PagingSpace parameter specifies the name of the paging space to be removed, which is actually the name of the logical volume on which the paging space resides.
For an NFS paging space, the PagingSpace parameter specifies the name of the paging space to be removed. The device and its definition, which corresponds to this paging space, will be removed from the system. Nothing will be changed on the NFS server where the file that is used for paging actually resides.
If the -t flag is specified, the argument will be assumed to be a third-party helper executable. If the helper executable is present in the /sbin/helpers/pagespace path then it will be spawned passing the -r flag to specify the rmps command. The /etc/swapspaces directory will be modified accordingly if the helper executable returns zero. The helper executable must take care of removing the paging space. If the named helper doesn’t exist in /sbin/helpers/pagespace directory the rmps command will display the usage error. The helper executable must exit with a 0 if successful and a non-zero if it fails.
Active pages can be removed by first deactivating them with the swapoff command.
You can use the File Systems application in Web-based System Manager (wsm) to change file system characteristics.
Item | Description |
---|---|
-t | Specifies to use the helper program under /sbin/helpers/pagespace
directory.
|
Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.
rmps PS01
This
removes the PS01 paging space.rmps –t foo PS01
This
removes the PS01 paging space.Item | Description |
---|---|
/etc/swapspaces | Specifies the paging space devices and their attributes. |