Lcrypto / Synology_enable_eunit

Enable an unsupported Expansion Unit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Synology enable eunit

committers.top badge

Description

Enable unsupported Synology eSATA Expansion Unit models

This script will enable a choice of DX517, DX513, DX213, DX510, RX418, RX415 or RX410 on Synology NAS that have an eSATA port.

You can enable DX517, RX418 and a 3rd model of either DX513, DX213, DX510, RX415 or RX410.

Note
If you later want to change the 3rd model you need to:

  1. Run the script with the --restore option.
  2. Run the script again to enable your chosen expansion unit.
  3. Reboot.

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.


I'm not sure if the RS models would only be able to use 4 of the 5 bays in a DX517 if the total drive number exceded the models' max drive number.

For example:

  • An RS822+ may only see 4 drives in a DX517.
  • An RS1221+ may only see 8 drives in two DX517.

Supported Models

I'm 99% certain this script will work for the following Synology NAS models:

Model Works Commment
DS720+ ???
DS723+ ???
DS920+ ???
DS923+ ???
DS1520+ ???
DS1522+ ???
DS1621+ ???
DS1821+ ???
DS1823xs+ ???
RS822+, RS822RP+ ???
RS1221+, RS1221RP+ ???
  • The DiskStation models above already have DX517 enabled, and RX418 partially enabled.
  • The RackStation models above already have RX418 enabled, and DX517 partially enabled.

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

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
  -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.


Screenshots

Enable DX513

Check option

DS models with eSATA posts only partially have RX418 enabled

Enable RX418

Check option again

Restore option

About

Enable an unsupported Expansion Unit

License:MIT License


Languages

Language:Shell 100.0%