{"id":17674553,"url":"https://github.com/007revad/synology_enable_eunit","last_synced_at":"2025-05-05T21:10:54.212Z","repository":{"id":212007690,"uuid":"730478917","full_name":"007revad/Synology_enable_eunit","owner":"007revad","description":"Enable an unsupported Expansion Unit","archived":false,"fork":false,"pushed_at":"2025-03-22T20:05:17.000Z","size":766,"stargazers_count":47,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-04T17:47:24.989Z","etag":null,"topics":["diskstation","dsm","rackstation","synology","synology-disk-station","synology-dsm","synology-nas"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/007revad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.txt","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"007revad","buy_me_a_coffee":"007revad","custom":["https://www.paypal.me/007revad"]}},"created_at":"2023-12-12T02:35:25.000Z","updated_at":"2025-04-17T02:05:45.000Z","dependencies_parsed_at":"2023-12-12T04:24:06.242Z","dependency_job_id":"90c1c1b7-2413-4e86-bc42-5ef82d3ab515","html_url":"https://github.com/007revad/Synology_enable_eunit","commit_stats":{"total_commits":157,"total_committers":1,"mean_commits":157.0,"dds":0.0,"last_synced_commit":"15a96c456e763c1165841d88ae9c13bce401ed7a"},"previous_names":["007revad/synology_enable_eunit"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_enable_eunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_enable_eunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_enable_eunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_enable_eunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/007revad","download_url":"https://codeload.github.com/007revad/Synology_enable_eunit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252577020,"owners_count":21770721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diskstation","dsm","rackstation","synology","synology-disk-station","synology-dsm","synology-nas"],"created_at":"2024-10-24T07:07:34.173Z","updated_at":"2025-05-05T21:10:54.191Z","avatar_url":"https://github.com/007revad.png","language":"Shell","funding_links":["https://github.com/sponsors/007revad","https://buymeacoffee.com/007revad","https://www.paypal.me/007revad","https://www.paypal.com/paypalme/007revad"],"categories":[],"sub_categories":[],"readme":"# Synology enable eunit\n\n\u003ca href=\"https://github.com/007revad/Synology_enable_eunit/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/007revad/Synology_enable_eunit.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://hits.seeyoufarm.com\"\u003e\u003cimg src=\"https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2F007revad%2FSynology_enable_eunith\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=views\u0026edge_flat=false\"/\u003e\u003c/a\u003e\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/paypalme/007revad)\n[![](https://img.shields.io/static/v1?label=Sponsor\u0026message=%E2%9D%A4\u0026logo=GitHub\u0026color=%23fe8e86)](https://github.com/sponsors/007revad)\n[![committers.top badge](https://user-badge.committers.top/australia/007revad.svg)](https://user-badge.committers.top/australia/007revad)\n\n### Description\nEnable unsupported Synology eSATA and InfiniBand Expansion Unit models\n\nThis script will allow enabling:\n- DX517, DX513, DX213, DX510, RX418, RX415 or RX410 on Synology NAS that have an eSATA port.\n- RX1217RP, RX1217, RX1214RP, RX1214, RX1211RP, RX1211, DX1215II, DX1215 or DX1211 on Synology NAS that have an InfiniBand port.\n\nYou can enable as many different expansion unit models as you want.\n\nIf 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.\n\n\u003e **Warning** \u003cbr\u003e\n\u003e 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.\n\n\n## Supported NAS Models\n\n### Models with eSATA expansion ports\n\nThis script will work for eSATA expansion units with the following Synology NAS models:\n\n| Model   | Works | Confirmed |\n|---------|-------|-----------|\n| DS1823xs+ | yes | |\n| DS1821+ | yes | DX513, DX213, RX418 |\n| DS1621+ | yes | |\n| DS1522+ | yes | |\n| DS1520+ | yes | |\n| DS923+  | yes | DX513 |\n| DS920+  | yes | |\n| DS723+  | yes | DX213 |\n| DS720+  | yes | DX513, DX213, RX418 |\n| RS1221+, RS1221RP+ | yes | DX517 |\n| RS822+, RS822RP+ | yes | |\n\n- The DiskStation models above already have DX517 enabled.\n- The RackStation models above already have RX418 enabled.\n\n**Models that work without the script**\n\n| Model   | Works | Confirmed |\n|---------|-------|-----------|\n| DS918+ | yes | DX513, DX213 |\n| DS718+ | yes | DX513, DX213 |\n| DS218+ | yes | DX513, DX213 |\n\n\n#### eSATA expansion unit speeds\n\n| Model | eSATA Speed | Notes |\n|-------|-------------|-------|\n| DX517 | 6 Gbps | 600 MB/s |\n|\tRX418 | 6 Gbps | 600 MB/s |\n| | |\n|\tDX513 | 3 Gbps | 300 MB/s |\n| DX213 | 3 Gbps | 300 MB/s |\n|\tRX415 | 3 Gbps | 300 MB/s |\n| | |\n|\tDX510 | 1.5 Gbps | 150 MB/s | \n|\tRX410 | 1.5 Gbps | 150 MB/s |\n\n### Models with InfiniBand expansion ports\n\nThis script will work for InfiniBand expansion units with the following Synology NAS models:\n\n| Model   | Works | Confirmed |\n|---------|-------|-----------|\n| RS2421+, RS2421RP+ | yes | |\n| RS2821RP+ | yes | |\n\n- The RackStation models above already have RX1217RP and RX1217 enabled.\n\n#### InfiniBand expansion unit speeds\n\n| Model | InfiniBand Speed | Notes |\n|-------|-------------|-------|\n| RX1217, RX1217RP | 4 x 6 Gbps | 4 x 600 MB/s |\n| DX1215II, DX1215 | 4 x 6 Gbps | 4 x 600 MB/s |\n| RX1214, RX1214RP | 4 x 6 Gbps | 4 x 600 MB/s |\n| | |\n| RX1211, RX1211RP | 4 x 3 Gbps | 4 x 300 MB/s |\n| DX1211 | 4 x 3 Gbps | 4 x 300 MB/s |\n\n## Download the script\n\n1. Download the latest version _Source code (zip)_ from https://github.com/007revad/Synology_enable_eunit/releases\n2. Save the download zip file to a folder on the Synology.\n3. Unzip the zip file.\n\n\u003e **Warning** \u003cbr\u003e\n\u003e 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.\n\n## How to run the script\n\n### Scheduling the script in Synology's Task Scheduler\n\nSee \u003ca href=how_to_schedule.md/\u003eHow to schedule a script in Synology Task Scheduler\u003c/a\u003e\n\n### Run the script via SSH\n\n[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)\n\nRun the script then reboot the Synology:\n\n```bash\nsudo -s /volume1/scripts/syno_enable_eunit.sh\n```\n\n\u003e **Note** \u003cbr\u003e\n\u003e Replace /volume1/scripts/ with the path to where the script is located.\n\n### Options:\n```YAML\n  -c, --check           Check expansion units status\n  -r, --restore         Restore from backups to undo changes\n      --unit=EUNIT      Automatically enable specified expansion unit\n                          Only needed when script is scheduled\n                          EUNIT is dx517, dx513, dx213, dx510, rx418, rx415,\n                          rx410, rx1217rp, rx1217, rx1214r, rx1214, rxX1211rp,\n                          rx1211, dx1215ii, dx1215 or dx1211\n  -e, --email           Disable colored text in output scheduler emails\n      --autoupdate=AGE  Auto update script (useful when script is scheduled)\n                          AGE is how many days old a release must be before\n                          auto-updating. AGE must be a number: 0 or greater\n  -h, --help            Show this help message\n  -v, --version         Show the script version\n```\n\n## What about DSM updates?\n\nAfter any DSM update you will need to run this script again, if you don't have it scheduled to run at boot. \n\n\u003cbr\u003e\n\n## Screenshots\n\n\u003cp align=\"center\"\u003eEnable DX513\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/esatab.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eCheck option\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/enable_dx513b.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eDS models with eSATA posts only partially have RX418 enabled\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/default.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eEnable RX418\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/enable_rx418b.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eCheck option again\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/enabled_3b.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eRestore option\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/restore.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eDS1821+ with a DX213\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/1821+dx213-1.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/1821+dx213-2.png\"\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F007revad%2Fsynology_enable_eunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F007revad%2Fsynology_enable_eunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F007revad%2Fsynology_enable_eunit/lists"}