Add iSCSI target
This Wizard allows to create a new SCSI Target. The wizard is divided into 4 steps :
1. Target Name
iqn.yyyy-mm.naming-authority:unique name
iqn.2019-11.iscsi:node-220.target0
The server name will be used as a part of the default target name. Before using the target, you need to add at least one LUN to it.
2. Zvols
You will find a list of available zvols for the target. Each zvol is shown with details, like :
- Name
- Size
- SCSI ID - You can change the SCSI ID. To change it, double-click on the value of SCSI ID for the target.
Note: Some virtual environments register the SCSI ID in the Virtual Machine configuration file. Changing SCSI ID will require to remove VMs from the inventory and the next new register into the VM inventory. This is why the SCSI ID can be changed only in an emergency case in order to re-mount volume with new credentials.
- LUN - You can define the LUN number. To change it, double-click on the value of the LUN for the target.
Note: Some initiators require LUN 0 for discovery, this is why it is strongly recommended to use default LUN numbers. - Access Mode - You can choose between the READ-WRITE (DEFAULT) and READ-ONLY.
If set to read-only, zvol will be created in read-only mode with the following restrictions:
- Properties cannot be changed.
If no zvols are displayed, you can create a new zvol by clicking Add New Zvol. You will be moved to the Create new Zvol Wizard.
3. Access
Allow CHAP users to authenticate or create IP restrictions. There are 3 restrictions to choose :
- Enable CHAP users authentication
- Enable Mutual CHAP user
- Enable target IP access restrictions
It is possible to assign network classes or specify individual IP addresses that are permitted or denied to access the target. Entries should be delimited by semicolons. Allow access field has higher priority than Deny access field. In order to completely block access, type address 0.0.0.0/0 in Deny field.
4. Summary
Summary of all information provided in previous steps. It is possible to edit them from this page. If all settings are set up properly, you can create the target by pressing the Create button.
Video tutorial related to this article