mkbdsp Command

Purpose

Assign storage from a storage pool to be a backing device for a virtual SCSI adapter.

Syntax

Assign an existing logical volume as a backing device:

mkbdsp -bd BackingDevice -vadapter ServerVirtualSCSIAdapter

Create a new logical volume as a backing device:

mkbdsp [-sp StoragePool] Size [-bd BackingDevice] -vadapter ServerVirtualSCSIAdapter

Description

The mkbdsp command assigns a backing device to a virtual SCSI server adapter. If the -sp flag is not specified the default storage pool will be used. The user has the option of selecting a specific backing device, using the -bd flag, or simply specifying the amount of storage required. Only logical volume backing device can be specified with the -bd flag. If the storage size is given, the mkvdev command will create a backing device of at least the specified size and assign it as the backing device. Size can be given in megabytes (###M/n), gigabytes (###G/g), or physical partitions (###). The user also has the option of assigning the name for the newly created backing device using the -bd flag in combination with the size parameter..

Flags

-bd BackingDevice Specifies the backing device.
-sp StoragePool Specifies the storage pool to be used.
-vadapter Specifies the virtual SCSI server adapter.

Exit Status

23 Specified storage pool is not a valid storage pool.
26 Specified name is already used. Choose a different name.
34 Specified name is reserved. Choose a different name.

Examples

  1. To create a virtual target device that maps a 3 GB backing device from the default storage pool the virtual SCSI server adapter vhost3, type:
    mkbdsp 3g -vadapter vhost3

Send feedback |  Rate this page