Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/007revad/synology_shr_switch
Easily switch between SHR and RAID Groups, or enable RAID F1
https://github.com/007revad/synology_shr_switch
diskstation dsm rackstation raid-f1 synology synology-disk-station synology-dsm synology-nas
Last synced: 4 months ago
JSON representation
Easily switch between SHR and RAID Groups, or enable RAID F1
- Host: GitHub
- URL: https://github.com/007revad/synology_shr_switch
- Owner: 007revad
- License: mit
- Created: 2023-04-11T05:51:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T11:32:48.000Z (9 months ago)
- Last Synced: 2024-05-20T20:39:52.536Z (9 months ago)
- Topics: diskstation, dsm, rackstation, raid-f1, synology, synology-disk-station, synology-dsm, synology-nas
- Language: Shell
- Homepage:
- Size: 434 KB
- Stars: 17
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Synology SHR switch
![]()
![]()
[![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
Easily switch between SHR and RAID Groups, or enable RAID-F1
- Allows you to enable RAID-F1 on Synology consumer NAS models that don't have RAID-F1 as an option.
- Like a [DS1821+ with 3 NVMe drives in RAID-F1](/images/ds1821_3nvme_raidf1.png).
- Allows you to switch between SHR and RAID Groups.
- The script backs up the original settings so it can restore them later if needed.Note: RAID Groups only support RAID 5, RAID 6 and RAID F1
## Download the script
1. Download the latest version _Source code (zip)_ from https://github.com/007revad/Synology_SHR_Switch/releases
2. Save the download zip file to a folder on the Synology.
3. Unzip the zip file.## How to run the script
**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)
```YAML
sudo -s /volume1/scripts/syno_shr_switch.sh
```
**Note:** Replace /volume1/scripts/ with the path to where the script is located.**Options:**
```YAML
-c, --check Check the currently set RAID type
-h, --help Show this help message
-v, --version Show the script version
```## Screenshots
DS1821+ with RAID-F1
Check currently set RAID type
Enable RAID-F1
Switch to SHR
Switch to RAID Groups
Restore from the backup