HP StorageWorks iSCSI Feature Pack User Guide
37
Logical Unit Commands
LUs are devices used by the iSCSI hosts.
The operation class name is:
logicalunit
or
lu
Under the LU operational class you can specify the following sub-operations:
create
Create a new LU.
Examples:
iscsicli lu create lu=LU4 pool=Pool1 size=1024 host=MySQLServer
accessmode=RO
iscsicli lu create lu=LU4 disk=0:2:2:2 size=1024 host=MySQLServer
accessmode=RW
import
Import a physical device as a new LU.
Parameter
Type
Description
LU
R
Name of the new LU.
Pool or Disk
R
Pool or Disk to provide storage for the LU.
Size
O
Size (in MB) of the new LU.
Default: available space
Host
O
Host to assign to the LU.
AccessMode
O
Type of access to grant to hosts.
Choices: RO, RW, RWE
Default: RWE
Parameter
Type
Description
LU
R
Name of the new LU.
Device
R
The physical device to import. The format is:
adapter:bus:target:lun
The storage must have been previously formatted by a supported
operating system.
Pool or Disk
R
Pool or Disk to store the header information for the imported physical
device.
Host
O
Host to assign the LU.