Target

Depending on the model, Synology NAS supports creating multiple targets to which LUNs can be mapped.

Note: The number of targets supported varies depending on Synology NAS models.

To create a target:

  1. Click the Create button.
  2. Enter the target's information, including Name, IQN, and whether to enable CHAP authentication.
  3. Click Next.
  4. Set up iSCSI LUN mapping. Select Create a new iSCSI LUN or Map existing LUNs.
  5. Click Next.
  6. Click Back to modify or Apply to confirm settings.

Terminologies

  • IQN: IQN (iSCSI Qualified Name) is a set of unique name for a target. It should not conflict with target IQNs on other servers. IQN must be less than 128 characters and can include letters (case insensitive), numbers, colons, dashes, and dots. The suggested naming format is iqn.[date].[domain]:[device identifier], for example: iqn.2000-04.com.synology:storage.diskarray.1.
  • Mutual CHAP authentication: In Mutual CHAP, both the client and server will authenticate each other. Any CHAP password used for client authentication must not be configured for authentication of any server, and any CHAP password used for server authentication must not be configured for authentication of any client.
  • Note:The Discovery process on iSCSI initiator may fail if the CHAP authentication on your NAS is enabled. Please complete Discovery first, and then enable CHAP authentication before connecting to a target. Alternatively, you can connect to a target with the IP and IQN.

To remove a target:

You can remove a target and any mapped LUNs. When removing an iSCSI LUN, all data on the iSCSI LUN will be deleted.

  1. Select the target you want to remove.
  2. Click Remove.
  3. If you want to remove mapped LUNs, select Delete mapped LUNs as well and select the ones you want to remove.
  4. Click OK.

To edit a target:

  1. Select the target you want to edit.
  2. Select Edit from the Action drop-down menu.
  3. Edit the settings to your preference. Click OK to save the changes.

Terminologies

  • CRC Checksum: Enable CRC Checksum to check for errors that occurred during data transmission.
  • Multiple Sessions: Allow multiple sessions from more than one initiator to connect to the same target at the same time. To protect your files from corruption or unexpected data loss, it is strongly suggested that you use a shared file system or cluster system such as VMware Virtual Machine File System (VMFS) and Oracle Cluster File System (OCFS).
  • Masking: Masking allows a target to be exclusively accessed by specified iSCSI initiator IQNs.

To enable or disable a target:

  1. Select the target you want to enable or disable.
  2. Select Enable or Disable from the Action drop-down menu.