Synology_enable_eunit
Synology_enable_eunit copied to clipboard
Enable an unsupported Expansion Unit
Synology enable eunit
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 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 Models
This script will work for 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 | |
DS720+ | yes | DX513, DX213, RX418 |
RS1221+, RS1221RP+ | yes | DX517 |
RS822+, RS822RP+ | yes |
- 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
- Download the latest version Source code (zip) from https://github.com/007revad/Synology_enable_eunit/releases
- Save the download zip file to a folder on the Synology.
- 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 or rx410
-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