| 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 | |
a |
|
the LU must be |
|
removed on both V- |
|
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
If you are working in
a
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 |
|
|
|
|
|
TARGET ALIAS | ALIAS OF TARGET | MANDATORY | accounting | |
|
| TO RENAME |
|
|
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 |