Skip to content

007revad/Synology_enable_eunit

Repository files navigation

Synology enable eunit

Donate committers.top badge

Description

Enable unsupported Synology eSATA and InfiniBand Expansion Unit models

This script will allow enabling:

  • DX517, DX513, DX213, DX510, RX418, RX415 or RX410 on Synology NAS that have an eSATA port.
  • RX1217RP, RX1217, RX1214RP, RX1214, RX1211RP, RX1211, DX1215II, DX1215 or DX1211 on Synology NAS that have an InfiniBand port.

You can enable as many different expansion unit models as you want.

If you have 2 of the same expansion unit model you only need to enable it once for both expansion units to be enabled in DSM.

Warning
Do NOT span a storage pool between the NAS and Expansion Unit. After a DSM update the Expansion Unit will be unsupported until you run this script again, which will be hard to do if your only storage pool is offline. Also do NOT store this script on a volume in the expansion unit.

Supported NAS Models

Models with eSATA expansion ports

This script will work for eSATA expansion units with the following Synology NAS models:

Model Works Confirmed
DS1823xs+ yes
DS1821+ yes DX513, DX213, RX418
DS1621+ yes
DS1522+ yes
DS1520+ yes
DS923+ yes
DS920+ yes
DS723+ yes DX213
DS720+ yes DX513, DX213, RX418
RS1221+, RS1221RP+ yes DX517
RS822+, RS822RP+ yes
  • The DiskStation models above already have DX517 enabled.
  • The RackStation models above already have RX418 enabled.

eSATA expansion unit speeds

Model eSATA Speed Notes
DX517 6 Gbps 600 MB/s
RX418 6 Gbps 600 MB/s
DX513 3 Gbps 300 MB/s
DX213 3 Gbps 300 MB/s
RX415 3 Gbps 300 MB/s
DX510 1.5 Gbps 150 MB/s
RX410 1.5 Gbps 150 MB/s

Models with InfiniBand expansion ports

This script will work for InfiniBand expansion units with the following Synology NAS models:

Model Works Confirmed
RS2421+, RS2421RP+ yes
RS2821RP+ yes
  • The RackStation models above already have RX1217RP and RX1217 enabled.

InfiniBand expansion unit speeds

Model InfiniBand Speed Notes
RX1217, RX1217RP 4 x 6 Gbps 4 x 600 MB/s
DX1215II, DX1215 4 x 6 Gbps 4 x 600 MB/s
RX1214, RX1214RP 4 x 6 Gbps 4 x 600 MB/s
RX1211, RX1211RP 4 x 3 Gbps 4 x 300 MB/s
DX1211 4 x 3 Gbps 4 x 300 MB/s

Download the script

  1. Download the latest version Source code (zip) from https://github.com/007revad/Synology_enable_eunit/releases
  2. Save the download zip file to a folder on the Synology.
  3. Unzip the zip file.

Warning
Do NOT save the script to a volumes in the expansion unit as the volume won't be available until after the script has run.

How to run the script

Scheduling the script in Synology's Task Scheduler

See How to schedule a script in Synology Task Scheduler

Run the script via SSH

How to enable SSH and login to DSM via SSH

Run the script then reboot the Synology:

sudo -s /volume1/scripts/syno_enable_eunit.sh

Note
Replace /volume1/scripts/ with the path to where the script is located.

Options:

  -c, --check           Check expansion units status
  -r, --restore         Restore from backups to undo changes
      --unit=EUNIT      Automatically enable specified expansion unit
                          Only needed when script is scheduled
                          EUNIT is dx517, dx513, dx213, dx510, rx418, rx415,
                          rx410, rx1217rp, rx1217, rx1214r, rx1214, rxX1211rp,
                          rx1211, dx1215ii, dx1215 or dx1211
  -e, --email           Disable colored text in output scheduler emails
      --autoupdate=AGE  Auto update script (useful when script is scheduled)
                          AGE is how many days old a release must be before
                          auto-updating. AGE must be a number: 0 or greater
  -h, --help            Show this help message
  -v, --version         Show the script version

What about DSM updates?

After any DSM update you will need to run this script again, if you don't have it scheduled to run at boot.


Screenshots

Enable DX513

Check option

DS models with eSATA posts only partially have RX418 enabled

Enable RX418

Check option again

Restore option

DS1821+ with a DX213