Targets and Exposure

 

 

 

Removing an LU

 

 

 

If you remove LU 0

Before you can remove a volume, you must remove any attached LU.

from a target, you will

 

 

 

 

inactivate the target

lu remove

 

 

 

even if the target has

You need to define two parameters to remove an LU:

 

other attached LUs.

 

 

 

 

 

 

 

SWITCH PARAMETER

DEFINITION

STATUS

EXAMPLE

If you are working in

-ta

a V-Switch cluster,

 

the LU must be

 

removed on both V-

-lun

Switches.

 

TARGET ALIAS

ALIAS OF TARGET

MANDATORY

 

FROM WHICH TO

 

 

REMOVE LU

 

LOGICAL UNIT

LU TO REMOVE

MANDATORY

NUMBER

FROM THE TARGET

 

Accounting

8

Example:

lu remove –ta Accounting –lun 8

If you are working in

aV-Switch cluster, the target alias must

be changd on both V- Switches.

Changing iSCSI Target Parameters

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:

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

 

 

 

 

 

-ta

TARGET ALIAS

ALIAS OF TARGET

MANDATORY

accounting

 

 

TO RENAME

 

 

-na

NEW ALIAS

NEW ALIAS FOR

MANDATORY

finance

 

 

TARGET

 

 

Example:

The target alias accounting is renamed to finance.

iscsi target set –ta accounting –na finance

Chapter 9: Routine Volume Maintenance

167

Page 174
Image 174
SANRAD V-Switch manual Targets and Exposure, Removing an LU, Changing iSCSI Target Parameters