If this document does not correspond to your current software version, you can go to Download Center to find other available document versions.

QNAP

QuTS hero h6.0.x

Download (PDF)

Creating an iSCSI target

  1. Go to iSCSI & Fibre Channel > iSCSI.
  2. Click Add Target.

    The Create iSCSI Target wizard opens.

  3. Optional: Specify a different IQN.

    An IQN (iSCSI qualified name) is a unique name used to identify an iSCSI target.

    • Length: 1 to 128 characters

    • Valid characters: 0 to 9, a to z, A to Z, colon (:), period (.), hyphen (-)

  4. Optional: Specify a different target alias.

    An alias enables you to identify the target more easily on the initiator.

    • Length: 1 to 32 characters

    • Valid characters: 0 to 9, a to z, A to Z, underscore (_), hyphen (-), space ( )

  5. Optional: Select Allow clustered access to this target.

    When enabled, multiple iSCSI initiators can access this target and its LUNs simultaneously.

    Warning:

    To prevent data corruption, the initiators and LUN filesystems must all be cluster-aware.

  6. Optional: Next to Advanced Settings, click to configure advanced settings.
  7. Optional: Enable CRC checksums.

    Initiators and targets communicate over TCP connections using iSCSI protocol data units (PDU). The sending device can send a checksum with each PDU. The receiving device uses this checksum to verify the integrity of the PDU, which is useful in unreliable network environments. There are two checksum types, which can be enabled separately.

    Checksum Type

    Description

    Data Digest

    The checksum can be used to verify the data portion of the PDU.

    Header Digest

    The checksum can be used to verify the header portion of the PDU.

  8. Optional: Configure CHAP authentication settings.
    Note:

    If you migrate your system to another NAS and have CHAP authentication enabled for the target, you must configure all CHAP passwords again on the new NAS. You can reuse old passwords or create new passwords.

    1. Select a CHAP authentication option.

      Option

      Description

      No CHAP

      Do not use CHAP authentication for this target.

      Default CHAP

      Use the default CHAT authentication settings in Protocol Settings > Default iSCSI CHAP for this target.

      For details, see iSCSI & Fibre Channel global settings.

      Customized CHAP

      Configure unique CHAP authentication settings for this target.

    2. Optional: Configure customized CHAP settings.
      • One-way CHAP forces iSCSI initiators to authenticate when connecting to a target.

        Note:

        This is the default CHAP setting.

      • Mutual CHAP forces both the initiator and target to authenticate each other.

        Note:

        Select Mutual CHAP to enable this feature. You can specify different usernames and passwords for one-way CHAP and mutual CHAP.

      The username and password requirements are the same for one-way and mutual CHAP:

      • Username

        • Length: 1 to 127 characters

        • Valid characters: 0 to 9, a to z, A to Z, colon (:), period (.), hyphen (-)

      • Password

        • Length: 12 to 16 characters

        • Valid characters: 0 to 9, a to z, A to Z

      Note:

      If you want to modify these settings later, the target must be disconnected from all initiators.

  9. Click Next.
  10. Select the IP addresses that this target will use for data transmission.
  11. Click Next.
  12. Specify which iSCSI initiators can connect to this target and perform read/write operations.

    Option

    User Action

    Allow all iSCSI initiators

    Enable Allow all iSCSI initiators to connect and perform read/write operations.

    Allow only specified iSCSI initiators

    1. Disable Allow all iSCSI initiators to connect and perform read/write operations.

    2. Click Add Initiators.

    3. Enter initiator IQNs, one per line.

    4. Click Apply.

  13. Click Next.
  14. Review the summary information.
  15. Optional: Select Map LUNs to target after target creation.
  16. Click Create.

    If you selected Map LUNs to target after target creation, the Map LUNs to New iSCSI Target window opens.

  17. Map one or more LUNs to the new iSCSI target.

    This step is only available if you selected Map LUNs to target after target creation.

    1. Select a mapping option.
      • Create a new LUN to map to target

        After QuTS hero creates the iSCSI target, the Create LUN wizard opens.

      • Select LUNs to map to target

        Select existing LUNs to map to the new target.

    2. Click Apply.

QuTS hero creates the iSCSI target.