Add iSCSI target: Difference between revisions
migrate>Ra-N No edit summary |
migrate>Ra-N No edit summary |
||
| Line 2: | Line 2: | ||
'''1. Target Name''' | '''1. Target Name''' | ||
<div>iSCSI uses a special and unique name to identify an iSCSI target. The iSCSI naming requirements can be found on IETF Web site (see RFC 3721 and RFC 3722). A target name may contain alphanumeric characters but lower case only. Every character entered will be converted to lower case. No spaces or underscores are permitted. Some initiators require strict IQN format in the following form:<br/></div><pre>iqn.yyyy-mm.naming-authority:unique name</pre><div>This is way it is strongly recommended to follow the standard. An example of a proper target name is presented below:</div><pre> | <div>iSCSI uses a special and unique name to identify an iSCSI target. The iSCSI naming requirements can be found on IETF Web site (see RFC 3721 and RFC 3722). A target name may contain alphanumeric characters but lower case only. Every character entered will be converted to lower case. No spaces or underscores are permitted. Some initiators require strict IQN format in the following form:<br/></div><pre>iqn.yyyy-mm.naming-authority:unique name</pre><div>This is way it is strongly recommended to follow the standard. An example of a proper target name is presented below:</div><pre>iqn.2019-11.iscsi:node-220.target0</pre><div><br/></div> | ||
'''Note :''' | '''Note :''' | ||
Revision as of 09:43, 22 November 2019
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
Note :
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.
- LUN - You can define the LUN number. To change it, double-click on the value of the LUN for the target.
- 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