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 DiskStation models. For detailed product specification, please refer to www.synology.com.
DiskStation currently supports the following types of iSCSI LUNs:
- iSCSI LUN (Regular Files): The iSCSI LUN is created by designating a portion of the volume space for its usage. You can expand its size later when necessary. This type of iSCSI LUN provides the flexibility of dynamic capacity management with Thin Provisioning, VMware VAAI hardware acceleration support, Windows ODX support, LUN snapshot and LUN clone.
- iSCSI LUN (Block-Level) - Single LUN on RAID: The iSCSI LUN is created using all the space of a volume. You can repair or expand it, or change its RAID type, just like using a volume. Please refer to the Volume page for more information.
- iSCSI LUN (Block-Level) - Multiple LUNs on RAID: The iSCSI LUN is created by designating a specific space of a Disk Group. You can expand the iSCSI LUN later if there is available space on the Disk Group. Please refer to the Disk Group page for more information.
- iSCSI LUN (Block-Level): This type of iSCSI LUN is created on a RAID Group and provides flexibility of dynamic capacity management in addition to optimized access performance. You can expand this type of iSCSI LUN later using unallocated space on the RAID Group. Please refer to the RAID Group page for more information.
Note:
iSCSI LUNs with advanced LUN features are only available on ext4/Btrfs file system.
To create an iSCSI LUN:
- Click Create.
- Select the iSCSI LUN type you wish to create.
- 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:
- Set the allocation unit size during the creation of the first advanced LUN of a volume.
- Set the allocation unit size from the Configure before you create the first advanced LUN of a volume.
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 DiskStation. 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.
- Select the iSCSI LUN you want to remove.
- Click Remove button and follow the wizard to complete the process.
Note:
Deleting VAAI LUNs on the DiskStation 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 DiskStation, 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:
- Select the iSCSI LUN you want to edit.
- Click Edit.
- Edit the desired properties.
- 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.
- Select the iSCSI LUN of which you want to take snapshots.
- Click Snapshot and choose Take a Snapshot.
- Enter the description for this snapshot.
- Choose either of the following snapshot types according to your needs:
- Application consistent: This type of snapshot can only be taken when Synology Snapshot Manager is installed on your Windows server or VMware vCenter Server depending on your operating environment to communicate with DSM. When application-consistent snapshots are triggered on DSM, applications will be notified and flush all the data from memory to the LUN on which the snapshot is taken to guarantee data consistency.
- Crash consistent: If no Synology Snapshot Manager is installed on either of your client, you can only capture crash-consistent snapshots of LUNs. When they are triggered, applications will not be notified to flush the data from memory to the LUN and therefore guarantee no data consistency.
- Click OK.
To restore an iSCSI LUN:
Select a point-in-time snapshot to restore the data on an iSCSI LUN.
- Select the iSCSI LUN you want to restore.
- Click Snapshot and choose Snapshot Manager.
- 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.
- Select an iSCSI LUN from the list and click Clone.
- Select an iSCSI LUN snapshot from Snapshot Manager and click Clone.
Note:
- If there is at least one connected iSCSI session associated with the LUN and is used by Windows Server or VMware ESXi Server, we recommend installing the Synology Snapshot Manager plug-in to avoid possible data inconsistencies, otherwise you must stop any applications and log off these sessions from the initiators before proceeding.
- LUN snapshot, restore and clone functions are only available on iSCSI LUNs with advanced LUN features.
- If you took a snapshot or created a clone, and the status turned out to be Abnormal/Crashed, please delete this snapshot/clone and create another one.
- All changes to a LUN after a snapshot was created will be lost when you restore LUN to this snapshot.
- If the status of an iSCSI LUN changes to Unavailable, it means that some data-related errors occurred while accessing iSCSI LUN. In order to avoid severe data loss on your system, this iSCSI LUN will be temporarily inaccessible. Please contact Synology for support as soon as possible.
Glossary:
- Thin Provisioning: Thin Provisioning is a method for optimizing storage utilization by allocating storage space in a dynamic and on-demand manner. This setting is only available for iSCSI LUN (regular files).
- VMware VAAI: The VMware vStorage APIs for Array Integration (VAAI) can offload the work of the standard operations on virtual storage arrays to the iSCSI device in the VMware vSphere environment and optimize the storage performance.
- Windows ODX: A new data transfer technology developed by Windows in Windows Server 2012 and 8 called Offload Data Transfer (ODX). ODX improves transfer performance by offloading some of the workload to the storage array.
If the data source and destination are located on LUNs located on the same volume, cloning will be processed by Synology Advanced LUN technology which saves up to 99.9% of the storage space consumption and accelerates cloning at the same time.
- iSCSI Target Mapping: Map the iSCSI LUN to one or more iSCSI Targets.
- Synology Snapshot Manager: Synology Snapshot Manager is a software plug-in, allowing you to take application-consistent snapshots directly from DiskStation Manager (DSM).
- For VMware environment, you will need to install Synology Snapshot Manager on the Windows server where VMware vCenter Server is installed. When a snapshot is triggered on DSM, VMware vCenter Server will be notified and flush all the data from memory to the LUN on which the snapshot is taken to guarantee data consistency. Once the snapshot is complete, VMware vCenter Server will resume normal I/O operation of VMware datastore. Synology Snapshot Manager for VMware vCenter Server supports vSphere 5.1 or newer versions.
- For Windows environment, you will need to install Synology Snapshot Manager on your Windows server. When a snapshot is triggered on DSM, Synology Snapshot Manager will leverage Microsoft Volume Shadow Copy Service (VSS) technology to produce consistent point-in-time copies of data. Synology Snapshot Manager for Windows supports Windows Server 2008 R2, 2012 and 2012 R2.
- Synology Snapshot Manager can be downloaded free from www.synology.com.
____
*Only available on certain models.