Assigns storage from a storage pool, which serves as a backing device for a virtual SCSI (VSCSI) adapter.
To create a backing device file or logical volume:
mkbdsp [-sp StoragePool] Size -bd BackingDevice
To assign an existing file or logical volume as a backing device:
mkbdsp [-sp StoragePool]-bd BackingDevice -vadapter ServerVirtualSCSIAdapter [-tn TargetDeviceName]
To create a new file or logical volume as a backing device:
mkbdsp [-sp StoragePool] Size [-bd BackingDevice] -vadapter ServerVirtualSCSIAdapter [-tn TargetDeviceName]
To create a logical unit in a shared storage pool:
mkbdsp -clustername ClusterName -sp StoragePool Size -bd LogicalUnit [-thick]
To assign a logical unit as a backing device in a shared storage pool:
mkbdsp -clustername ClusterName -sp StoragePool { -bd LogicalUnit | -luudid LUUDID } -vadapter ServerVirtualSCSIAdapter [-tn TargetDeviceName]
To create a new logical unit as a backing device in a shared storage pool:
mkbdsp -clustername ClusterName -sp StoragePool Size -bd LogicalUnit -vadapter ServerVirtualSCSIAdapter [-tn TargetDeviceName] [-thick]
| Flag name | Description |
|---|---|
| -bd | Specifies the backing device or logical unit name. |
| -clustername | Specifies the cluster name |
| -luudid | Specifies the logical unit (LU) UDID in case specified lu is not unique. |
| -sp | Specifies the storage pool to be used. |
| -thick | Creates the device as a thick-provisioned device. The default is a thin-provisioned device. |
| -tn | Specifies the name of the target device. Note: The
only values accepted are alphanumeric, a dash, an underscore, or a
period.
|
| -vadapter | Specifies the VSCSI server adapter. |
| Return code | Description |
|---|---|
| 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. |
mkbdsp -bd bdname 3g -vadapter vhost3
mkbdsp -clustername newcluster -sp viossp 100M -bd LU
The system displays the output as follows:
Lu Name:LU
Lu Udid:c960d8f854d4064d74b7d0017c4063a2
mkbdsp -clustername newcluster -sp viossp -bd LU -vadapter vhost0
The system displays the output as follows:
Assigning file "LU" as a backing device.
VTD:vtscsi0
mkbdsp -clustername newcluster -sp viossp 5G -bd THICK_LU -thick
The system displays the output as follows:
Lu Name:THICK_LU
Lu Udid:7f9ce0be4d5b5c8ddeb339fc1c71e0bf
mkbdsp -clustername newcluster -sp viossp 2G -bd THICK_LU -vadapter vhost0 -thick
The system displays the output as follows:
Lu Name:THICK_LU
Lu Udid:510004e3d0e90c1d10e13be130b3cd34
Assigning file "THICK_LU" as a backing device.
VTD:vtscsi0
The lu command.