iSCSI LUN

iSCSI is a storage networking service that facilitates transferring data over local networks or long distances. By mapping iSCSI LUNs to iSCSI Targets, clients may access storage spaces as if they were local disks. An iSCSI LUN (logical unit number) can be mapped to one or multiple iSCSI Targets to provide iSCSI storage services. Go to Storage Manager > iSCSI LUN to manage iSCSI LUNs.

Note:

The number of supported iSCSI LUNs varies on Synology NAS models. For detailed product specification, please refer to www.synology.com.

Synology NAS currently supports the following types of iSCSI LUNs:

Note:

iSCSI LUNs with advanced LUN features are only available on ext4/Btrfs file system.

To create an iSCSI LUN:

  1. Click Create.
  2. Select the iSCSI LUN type you wish to create.
  3. Follow the wizard to complete the process.

Note:

Advanced LUN features can only be enabled during initial iSCSI LUN creation. This setting cannot be changed afterwards.

Advanced LUN allocation unit size can be optimized for certain features for application server, such as Microsoft Exchange or SQL Server, or virtualization servers and storage acceleration technologies, such as Microsoft Windows ODX or VMware VAAI, by doing either of the following:

We recommend you to specify the allocation unit size for your application when using the direct connection from your application server or RDM (pass-through) methods of working with Advanced iSCSI LUNs on Synology NAS. To leverage Synology Advanced LUN technology for cloning for Windows ODX, we suggest you to format the NTFS volume with the allocation unit size equal to (or larger than) the one you specified on DSM.

Note:

The Advanced LUN allocation unit of each volume can be set only once.

To remove an iSCSI LUN:

When removing an iSCSI LUN, all data on the iSCSI LUN will be deleted. Connections between the iSCSI LUN and any mapped iSCSI Targets will be lost also.

  1. Select the iSCSI LUN you want to remove.
  2. Click Remove button and follow the wizard to complete the process.

Note:

Deleting VAAI LUNs on the Synology NAS does not free up disk space immediately. Data is moved to a system reserved folder called @EP_trash and deleted piece by piece. For example, if a 100 GB VAAI LUN is deleted from the Synology NAS, it might take approximately 15-20 minutes to free up the 100 GB of space on the disk volume.

To force mount iSCSI LUN (Block-Level):

If the cache on an iSCSI LUN (Block-Level) is missing, the system will not mount the iSCSI LUN (Block-Level) when booting up. If the cache is not recoverable, and you want to access the iSCSI LUN (Block-Level), you can click Force mount.

Note:

This function is only available on certain models.

To edit an iSCSI LUN:

  1. Select the iSCSI LUN you want to edit.
  2. Click Edit.
  3. Edit the desired properties.
  4. Click OK to save the settings.

Note:

To avoid data loss when editing iSCSI LUN capacity, you can only make it larger than the current size.

To take an iSCSI LUN snapshot:

A snapshot of an iSCSI LUN is a point-in-time, read-only copy of an iSCSI LUN.

  1. Select the iSCSI LUN of which you want to take snapshots.
  2. Click Snapshot and choose Take a Snapshot.
  3. Enter the description for this snapshot.
  4. Choose either of the following snapshot types according to your needs:
  5. From the Lock drop-down list, select Yes/No to determine whether the snapshot will ignore the retention settings when automatic removal is to be triggered.
  6. Click OK.

To edit a snapshot of an iSCSI LUN:

  1. Select an iSCSI LUN you wish to edit the snapshots of.
  2. Click Snapshot List.
  3. Select a snapshot you wish to edit, and click Edit.
  4. You can do any of the following to edit the snapshot:
  5. Click OK to save your settings.

To configure scheduled snapshots:

With scheduled snapshots, Storage Manager will automatically take snapshots at the pre-determined time and frequency, and it will thus lighten your workload to take snapshot manually.

  1. Select an iSCSI LUN.
  2. Click Set Schedule.
  3. In the Schedule tab, tick the Enable snapshot schedule checkbox, and set up the time and frequency to take snapshots. To cancel scheduled snapshots for this shared folder, please untick the checkbox.
  4. Click OK to save your settings.

To configure the retention settings for the scheduled snapshots:

  1. Select an iSCSI LUN.
  2. Click Set Schedule.
  3. Select Retention tab.
  4. Configure your retention settings. Choose any of the following options:
  5. Click OK to save your settings.
  6. You will see a confirmation message. Click OK again to confirm the configuration.

To configure the consistent state of your iSCSI LUN snapshots:

  1. Select an iSCSI LUN.
  2. Click Set Schedule.
  3. Select Application tab.
  4. Tick/untick Enable application-consistent snapshots checkbox to switch between the following consistent states:
  5. Click OK to save your settings.

To restore an iSCSI LUN:

Select a point-in-time snapshot to restore the data on an iSCSI LUN.

  1. Select the iSCSI LUN you want to restore.
  2. Click Snapshot and choose Snapshot Manager.
  3. Select a snapshot to which you want to restore and click Restore.

To clone an iSCSI LUN or snapshot:

Make a writable copy of an iSCSI LUN or an iSCSI LUN snapshot.

____

Retention Policy

This option provides an ideal solution to help you specify the maximum amounts of snapshot versions to save your volume space, but you may need to retain your snapshots for longer periods of time.

Synology employs the GFS, or Grandfather-Father-Son retention policy. You can configure the maximum amounts of snapshot versions to be retained for the following time ranges respectively: hourly, daily, weekly, monthly, and yearly.

Storage Manager will retain as many as the configured maximum number of snapshots for every time range. If more than one snapshot verison exists within a time range, only the earliest one will be kept. For example, if you set a policy as 10 weekly snapshot(s), Storage Manager will retain the earliest snapshot (if more than one snapshot is taken in a week) for each of the latest 10 weeks.

Moreover, all snapshot versions within one hour since the taking of newest snapshot will be kept by default, for your convenience to find and restore from recent snapshot versions. You can also lock a snapshot to prevent it from automatic removal by your retention rules.

Note:

Glossary: