SANRAD V-Switch manual Exposing an iSCSI Target and LUN, Volume expose, New, Vol1, Lun

Models: V-Switch

1 300
Download 300 pages 15.92 Kb
Page 140
Image 140

The first LUN assigned to an iSCSI target must be LU 0.

A LUN value cannot be larger than 255.

All CLI names and aliases are case sensitive.

A snapshot volume must be exposed on the same V-Switch as the source volume.

Exposing an iSCSI Target and LUN

To make a volume accessible to a host, you need to assign a LUN to it, attach the LUN to an iSCSI target and expose the target. The CLI command volume expose is used in two ways:

Create and expose a new target.

Expose an existing target.

The CLI command volume expose -newcreates a new iSCSI target, assigns a volume LUN and then exposes the new target.

After creating a target and LU0, you can add additional LUNs to the target using the CLI command volume expose (without the –newswitch).

volume expose

If you are working in a V-Switch cluster, each target and LUN must be configured on both V-Switches in the V-Switch cluster. For more information on V-Switch clusters, see “Introduction to V-Switch Clusters,” page 72.

If you add or modify identities on a target after its volumes have been exposed, the access rights will take effect only at the next login for each iSCSI initiator.

You need to define six parameters to create and expose an iSCSI target and volume LUN:

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

 

 

 

 

 

-new

NEW TARGET

NEW ISCSI

OPTIONAL

No parameter

 

 

TARGET TO CREATE

 

required

-vol

VOLUME ALIAS

ALIAS OF VOLUME

MANDATORY

Vol1

 

 

TO CREATE LU0

 

 

 

 

AND TARGET FOR

 

 

-ta

TARGET ALIAS

USER-ASSIGNED

MANDATORY

finance

 

 

ALIAS OF TARGET

 

 

 

 

TO CREATE

 

 

-lun

LU NUMBER

USER-ASSIGNED

MANDATORY

0

 

 

LUN FOR

ON EXISTING

 

 

 

EXPOSING VOLUME

TARGET

 

-tn

TARGET WWUI

USER-ASSIGNED

MANDATORY ON

sanrad.

 

 

WORLD WIDE

A NEW TARGET

billing

 

 

UNIQUE IDENTIFIER

 

 

 

 

FOR THE TARGET

 

 

 

 

 

 

 

134

SANRAD V-Switch User Manual

Page 140
Image 140
SANRAD V-Switch manual Exposing an iSCSI Target and LUN, Volume expose, New, Vol1, Lun