{"id":17674540,"url":"https://github.com/007revad/synology_shr_switch","last_synced_at":"2025-05-05T21:05:12.290Z","repository":{"id":152517604,"uuid":"626262678","full_name":"007revad/Synology_SHR_switch","owner":"007revad","description":"Easily switch between SHR and RAID Groups, or enable RAID F1","archived":false,"fork":false,"pushed_at":"2025-03-22T19:54:00.000Z","size":523,"stargazers_count":33,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-04T17:47:25.364Z","etag":null,"topics":["diskstation","dsm","rackstation","raid-f1","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","custom":["https://www.paypal.me/007revad"]}},"created_at":"2023-04-11T05:51:33.000Z","updated_at":"2025-04-15T11:20:49.000Z","dependencies_parsed_at":"2024-01-12T13:48:40.450Z","dependency_job_id":"7070cfe0-00ec-459a-ae78-709b37dde6f1","html_url":"https://github.com/007revad/Synology_SHR_switch","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_SHR_switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_SHR_switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_SHR_switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_SHR_switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/007revad","download_url":"https://codeload.github.com/007revad/Synology_SHR_switch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252576989,"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","raid-f1","synology","synology-disk-station","synology-dsm","synology-nas"],"created_at":"2024-10-24T07:07:29.191Z","updated_at":"2025-05-05T21:05:12.218Z","avatar_url":"https://github.com/007revad.png","language":"Shell","funding_links":["https://github.com/sponsors/007revad","https://www.paypal.me/007revad","https://www.paypal.com/paypalme/007revad"],"categories":[],"sub_categories":[],"readme":"# Synology SHR switch\n\n\u003ca href=\"https://github.com/007revad/Synology_SHR_switch/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/007revad/Synology_SHR_switch.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_RAID-F1_SHR_switch\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\n\nEasily switch between SHR and RAID Groups, or enable RAID-F1\n\n- Allows you to enable RAID-F1 on Synology consumer NAS models that don't have RAID-F1 as an option.\n  - Like a [DS1821+ with 3 NVMe drives in RAID-F1](/images/ds1821_3nvme_raidf1.png).\n- Allows you to switch between SHR and RAID Groups.  \n- The script backs up the original settings so it can restore them later if needed.\n\nNote: RAID Groups only support RAID 5, RAID 6 and RAID F1\n\n## Download the script\n\n1. Download the latest version _Source code (zip)_ from https://github.com/007revad/Synology_SHR_Switch/releases\n2. Save the download zip file to a folder on the Synology.\n3. Unzip the zip file.\n\n## How to run the script\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\n```YAML\nsudo -s /volume1/scripts/syno_shr_switch.sh\n```\n**Note:** Replace /volume1/scripts/ with the path to where the script is located.\n\n**Options:**\n```YAML\n  -c, --check      Check the currently set RAID type\n  -h, --help       Show this help message\n  -v, --version    Show the script version\n```\n\n## Screenshots\n\n\u003cp align=\"center\"\u003eDS1821+ with RAID-F1\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/raidf1-2.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eCheck currently set RAID type\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/check_raidf1.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eEnable RAID-F1\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/enable_raidf1.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eSwitch to SHR\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/raidgroup_shr-switch_shr3.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eSwitch to RAID Groups\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/raidgroup_shr-switch_raidgroup3.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eRestore from the backup\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/raidgroup_shr-switch_restored3.png\"\u003e\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F007revad%2Fsynology_shr_switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F007revad%2Fsynology_shr_switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F007revad%2Fsynology_shr_switch/lists"}