Category Archives: Synology

Enabling NFS VAAI Support in Synology 5.1

Synology enabled VAAI support for NFS in version 5.1 of their DSM software. In order to take advantage of this technology from ESXi hosts we need to do two things:

  • Upgrade DSM to at least version 5.1-5004 (2014/11/06)
  • Install the Synology NFS Plug-in for VMware VAAI

DSM

DSM can be upgraded from within the Control Panel application. Head to the Update & Restore section, check for and install updates. This will likely require a reboot so ensure anything or anyone using it is shutdown or notified.

NFSNAAI07

 

ESXi

Prior to installing the NFS plugin my two NFS datastores don’t have the Hardware Acceleration support.

NFSNAAI02

 

From the 5.1-5004 Release Notes:

VMware VAAI NAS
Added NFS support for two primitives: Full File Clone and Reserve Space.
Please note that you should install the Synology NFS Plug-in for VMware VAAI and read the instructions in README.txt to make sure installation is successful.

Once the plugin has been downloaded it is possible to use either VMware Update Manager or esxcli to install the vib. For the purposes of my home lab without Update Manager I’m going to show you the esxcli way.

Upload the vib to a datastore all hosts can access, then the command to install the vib is:

esxcli software vib install -v /path to vib/esx-nfsplugin.vib

Once installed, the ESXi host will require a reboot

NFSNAAI04

After the reboot you can check all was successful by running:

esxcli software vib list | grep nfs

NFSNAAI05

and examining the NFS datastores

NFSNAAI06

Synology DSM: Enabling iSCSI Multiple Sessions

During setting up an iSCSI LUN on my new Synology box (DSM 4.3), I encountered an issue where the first ESXi box would connect successfully to the iSCSI target, but not the second. So no devices showing on the second node after configuring the iSCSI adapter, despite no apparent errors during the config process.

SyniSCSI00

Looking at the Synology box showed the first ESXi node connected (172.20.0.210), but not the second.

SyniSCSI01

I noticed on the above screen Multiple Sessions – Disabled. I hadn’t seen any mention of that while setting up the iSCSI LUN so looked into the config.

SyniSCSI02

So it appears that multiple sessions are disabled by default, accompanied by a warning that your OS must be cluster aware. Comfortable that ESXi meets that requirement, I decided to proceed.

SyniSCSI03

Multiple sessions are now available.

SyniSCSI04

Rescanning the iSCSI hba and the device now appears.

SyniSCSI05

Now the Synology box shows multiple sessions connected.

SyniSCSI06