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
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
After creating a target and LU0, you can add additional LUNs to the target using the CLI command volume expose (without the
volume expose
If you are working in a
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 TARGET | NEW ISCSI | OPTIONAL | No parameter |
|
| TARGET TO CREATE |
| required |
| VOLUME ALIAS | ALIAS OF VOLUME | MANDATORY | Vol1 |
|
| TO CREATE LU0 |
|
|
|
| AND TARGET FOR |
|
|
TARGET ALIAS | MANDATORY | finance | ||
|
| ALIAS OF TARGET |
|
|
|
| TO CREATE |
|
|
| LU NUMBER | MANDATORY | 0 | |
|
| LUN FOR | ON EXISTING |
|
|
| EXPOSING VOLUME | TARGET |
|
TARGET WWUI | MANDATORY ON | sanrad. | ||
|
| WORLD WIDE | A NEW TARGET | billing |
|
| UNIQUE IDENTIFIER |
|
|
|
| FOR THE TARGET |
|
|
|
|
|
|
|
134 | SANRAD |