[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


mkps Command

Purpose

Adds an additional paging space to the system.

Syntax

To Add a Logical Volume for Additional Paging Space

mkps [ -a ] [ -n ] [ -t lv ] -s LogicalPartitions VolumeGroup [ PhysicalVolume ]

To Add Additional Paging Space On an NFS Server

mkps [ -a ] [ -n ] -t nfs ServerHostName ServerFileName

Description

The mkps command adds additional paging space to the system. Before the paging space can be used it must be activated, using the swapon command. The VolumeGroup parameter specifies the volume group within which the logical volume for the paging space is to be made. The PhysicalVolume parameter specifies the physical volume of the VolumeGroup on which the logical volume is to be made.

In the second form of the mkps command, the ServerHostName parameter specifies the NFS server where the ServerFileName resides. The ServerFileName specifies the file which will be used for the NFS paging of the system. The ServerFileName file must exist and be exported correctly to the client that will use the file for paging.

You can use the File Systems application in Web-based System Manager (wsm) to change file system characteristics. You could also use the System Management Interface

Flags


-a Specifies that the paging space is configured at subsequent restarts.
-n Activates the paging space immediately.
-s LogicalPartitions Specifies the size of the paging space and the logical volume to be made in logical partitions.
-t Specifies the type of paging space to be created. One of the following variables is required:

lv
Specifies that a paging space of type logical volume should be created on the system.

nfs
Specifies that a paging space of type NFS should be created on the system.

Examples

  1. To create a paging space in volume group myvg that has four logical partitions and is activated immediately and at all subsequent system restarts, enter:
    mkps -a -n -s4 myvg
  2. To create an NFS paging space on the NFS server swapserve where the host swapserve has the /export/swap/swapclient file exported, enter:

    mkps -t nfs swapserve /export/swap/swapclient
    

Files


/etc/swapspaces Specifies the paging space devices that are activated by the swapon -a command.

Related Information

The chps command, lsps command, rmps command, mklv command, swapon command.

Paging Space Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.

Logical Volume Storage Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.

File Systems Overview for System Management in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.

For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.1 Web-based System Manager Administration Guide.

The System Management Interface Tool (SMIT) Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]