Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/007revad/synology_enable_eunit
Enable an unsupported Expansion Unit
https://github.com/007revad/synology_enable_eunit
diskstation dsm rackstation synology synology-disk-station synology-dsm synology-nas
Last synced: 4 months ago
JSON representation
Enable an unsupported Expansion Unit
- Host: GitHub
- URL: https://github.com/007revad/synology_enable_eunit
- Owner: 007revad
- License: mit
- Created: 2023-12-12T02:35:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-19T02:55:05.000Z (9 months ago)
- Last Synced: 2024-05-20T20:39:52.107Z (9 months ago)
- Topics: diskstation, dsm, rackstation, synology, synology-disk-station, synology-dsm, synology-nas
- Language: Shell
- Homepage:
- Size: 707 KB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Synology enable eunit
![]()
![]()
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/paypalme/007revad)
[![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/007revad)
[![committers.top badge](https://user-badge.committers.top/australia/007revad.svg)](https://user-badge.committers.top/australia/007revad)### Description
Enable unsupported Synology eSATA and InfiniBand Expansion Unit modelsThis 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 | |
| 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](https://kb.synology.com/en-global/DSM/tutorial/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet)
Run the script then reboot the Synology:
```bash
sudo -s /volume1/scripts/syno_enable_eunit.sh
```> **Note**
> Replace /volume1/scripts/ with the path to where the script is located.### Options:
```YAML
-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