Targets and exposure, Removing an lu, Changing iscsi target parameters – SANRAD I3.1.1205 User Manual
Page 184

9-6
SANRAD V-Switch CLI User Manual
Targets and Exposure
Removing an LU
If you remove LU 0
from a target, you will
inactivate the target
even if the target has
other attached LUs.
Before you can remove a volume, you must remove any attached LU.
lu remove
You need to define two parameters to remove an LU:
S
WITCH
P
ARAMETER
D
EFINITION
S
TATUS
E
XAMPLE
-ta
TARGET ALIAS
ALIAS OF TARGET
FROM WHICH TO
REMOVE
LU
MANDATORY
Accounting
If you are working in
a V-Switch cluster,
the LU must be
removed on both V-
Switches.
-lun
LOGICAL UNIT
NUMBER
LU
TO REMOVE
FROM THE TARGET
MANDATORY
8
Example:
lu remove –ta Accounting –lun 8
Changing iSCSI Target Parameters
If you are working in
a V-Switch cluster,
the target alias must
be changd on both V-
Switches.
This command renames a target alias. Renaming the alias will have no
negative effect on the target exposure.
iscsi target set
You need to define two parameters to rename an iSCSI target alias:
S
WITCH
P
ARAMETER
D
EFINITION
S
TATUS
E
XAMPLE
-ta
TARGET ALIAS
ALIAS OF TARGET
TO RENAME
MANDATORY
accounting
-na
NEW ALIAS
NEW ALIAS FOR
TARGET
MANDATORY
finance
Example:
The target alias accounting is renamed to finance.
iscsi target set –ta accounting –na finance