Exposing an iscsi target and lun – SANRAD I3.1.1205 User Manual

Page 148

Advertising
background image

7-30

SANRAD V-Switch CLI User Manual

Exposing an iSCSI Target and LUN

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.

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 -new creates 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 –new switch).

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 Chapter 5 “

Introduction to V-

Switch Clusters

”.

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.

Advertising