Skip to content

Commit 552dd90

Browse files
authored
Merge pull request #11 from 007revad/develop
Develop
2 parents 9e027b3 + 35258fb commit 552dd90

8 files changed

+38
-8
lines changed

CHANGES.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
v1.0.2
2+
- Added --check option to check and show currently selected RAID type.
3+
- Added --help option to usage options.
4+
- Changed to not show the current RAID type as a choice to change to.
5+
6+
v1.0.1
7+
- Initial release.

README.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ Easily switch between SHR and RAID F1
1010

1111
This script allows you to switch from SHR to RAID F1, or from RAID F1 to SHR. It backs up the synoinfo.conf first, so you can restore it later if needed.
1212

13-
**NOTE** Changing to RAID F1 disables SHR, and changing to SHR disables RAID F1.
14-
- I would ***not*** change from SHR to RAID F1 if you already have a storage pool containg data setup using SHR.
15-
- I would ***not*** change from RAID F1 to SHR if you already have a storage pool containg data setup using RAID F1.
13+
**Notes:**
14+
15+
1. You need 3 or more SSD drives to be able to user RAID F1.
16+
17+
2. Changing to RAID F1 disables SHR, and changing to SHR disables RAID F1.
18+
- I would ***not*** change from SHR to RAID F1 if you already have a storage pool containg data setup using SHR.
19+
- I would ***not*** change from RAID F1 to SHR if you already have a storage pool containg data setup using RAID F1.
1620

1721
### What is RAID F1
1822

@@ -22,17 +26,36 @@ See Synology's <a href="https://global.download.synology.com/download/Document/S
2226

2327
Also see: <a href="https://www.insight.com/en_US/content-and-resources/2017/01112017-rethinking-raid-in-all-flash-environments.html">Synology RAID F1: Rethinking RAID in all-Flash Environments</a>
2428

25-
### Download the script
29+
## Download the script
2630

2731
See <a href=images/how_to_download_generic.png/>How to download the script</a> for the easiest way to download the script.
2832

29-
### Screenshots
33+
## How to run the script
34+
35+
**Run the script via SSH**
36+
37+
```YAML
38+
sudo -i /volume1/scripts/syno_raidf1_shr_switch.sh
39+
```
40+
**Note:** Replace /volume1/scripts/ with the path to where the script is located.
41+
42+
**Options:**
43+
```YAML
44+
-c, --check Check the currently set RAID type
45+
-h, --help Show this help message
46+
-v, --version Show the script version
47+
```
48+
49+
## Screenshots
3050

3151
<p align="center">Switch to RAID F1</p>
32-
<p align="center"><img src="/images/raidf1_shr-switch1.png"></p>
52+
<p align="center"><img src="/images/raidf1_shr-switch_raidf12.png"></p>
3353

3454
<p align="center">Switch to SHR</p>
35-
<p align="center"><img src="/images/raidf1_shr-switch2.png"></p>
55+
<p align="center"><img src="/images/raidf1_shr-switch_shr.png"></p>
3656

3757
<p align="center">Restore from the backup</p>
38-
<p align="center"><img src="/images/raidf1_shr-switch3.png"></p>
58+
<p align="center"><img src="/images/raidf1_shr-switch_restored2.png"></p>
59+
60+
<p align="center">Check currently set RAID type</p>
61+
<p align="center"><img src="/images/raidf1_shr-switch_check.png"></p>

images/raidf1_shr-switch_check.png

6.2 KB
Loading

images/raidf1_shr-switch_raidf1.png

10.7 KB
Loading

images/raidf1_shr-switch_raidf12.png

10.5 KB
Loading

images/raidf1_shr-switch_restored.png

10 KB
Loading
10.8 KB
Loading

images/raidf1_shr-switch_shr.png

10.6 KB
Loading

0 commit comments

Comments
 (0)