HP StorageWorks iSCSI Feature Pack User Guide
39
assign
Assign a LU to an iSCSI host.
Example:
iscsicli lu assign lu=LU6 host=MySQLServer accessmode=RW
unassign
Remove the assignment of a LU from an iSCSI host.
Example:
iscsicli lu unassign lu=LU6 host=MySQLServer2
setaccess
Change the access mode of a LU for an iSCSI host.
Example:
iscsicli lu setaccess lu=LU6 host=MySQLServer accessmode=RO
Parameter
Type
Description
LU
R
Name of the LU.
Host
R
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 LU.
Host
R
Host to unassign from the LU.
Parameter
Type
Description
LU
R
Name of the LU.
Host
R
Host to assign to the LU.
AccessMode
R
Type of access to grant to hosts.
Choices: RO, RW, RWE