prepdev command

Purpose

Prepares a device to be assigned to a shared memory pool (to be used as a paging space device by a shared memory partition).

Syntax

prepdev {-dev devicename}

Description

The prepdev command prepares a device to be assigned to a shared memory pool (to be used as a paging space device by a shared memory partition). This command determines whether the device specified by the -dev flag is already assigned or used in the following manner:
  • Assigned to a shared memory pool (being used as a paging device)
  • Used as a backup device for virtual SCSI
  • Used by a file system, logical volume, or volume group.
If the device is already being used or assigned to a shared memory pool, you receive system output that tells you how to prepare the device to be used as a paging space device.

Flags

Flag name Description
-dev devicename Specifies the logical device to be used as a paging space device.
--help Displays the help text for this command and exit.

Example

  1. To verify that hdisk5 is ready to be used as a paging space device by a shared memory partition, type the following command:
    prepdev -dev hdisk5



Last updated: Wed, November 18, 2020