Browse Source

Merge pull request #610 from 007revad/develop

Develop
main
Dave Russell 1 day ago
committed by GitHub
parent
commit
be76947bdd
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 21
      LICENSE
  2. 15
      README.md
  3. 27
      how_to_schedule.md
  4. BIN
      images/schedule1.png
  5. BIN
      images/schedule2.png
  6. BIN
      images/schedule3.png
  7. BIN
      images/syno_hdd_db.png
  8. BIN
      images/syno_hdd_db2.png

21
LICENSE

@ -1,21 +0,0 @@
MIT License
Copyright (c) 2023 007revad
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

15
README.md

@ -53,6 +53,18 @@ #### What the script does:
* Checks if there is a newer version of this script and offers to download it for you.
* The new version available messages time out so they don't prevent the script running if it is scheduled to run unattended.
### 2025 plus series and later models
The table below summarizes drive compatibility by product series and drive type for models released in 2025 and later:
**All series (DSM 7.3 or later) with Synology HDD DB:**
| Drive Types | On Compatibility List | Not Listed | On Incompatibility List |
|---|---|---|---|
| HDD | ✓ Supported for:<br>• New installation and storage pool creation<br>• Migration from existing Synology systems | ✓ Supported for:<br>• Migration from existing Synology systems<br><br>✓ Supported for:<br>• New installation and storage pool creation<br>• Cache creation | ✓ Supported for:<br>• New installation and storage pool creation<br>• Cache creation<br>• Migration from existing Synology systems |
| 2.5" SATA/SAS SSD | ✓ Supported for:<br>• New installation and storage pool creation<br>• Cache creation<br>• Migration from existing Synology systems | ✓ Supported for:<br>• Migration from existing Synology systems<br><br>✓ Supported for:<br>• New installation and storage pool creation<br>• Cache creation | ✓ Supported for:<br>• New installation and storage pool creation<br>• Cache creation<br>• Migration from existing Synology systems |
| M.2 NVMe SSD | ✓ Supported for:<br>• Storage pool creation<br>• Cache creation<br>• Migration from existing Synology systems | ✓ Supported for:<br>• Migration from existing Synology systems<br><br>✓ Supported for:<br>• Storage pool creation<br>• Cache creation | ✓ Supported for:<br>• Storage pool creation<br>• Cache creation<br>• Migration from existing Synology systems |
### Download the script
1. Download the latest version _Source code (zip)_ from https://github.com/007revad/Synology_HDD_db/releases
@ -88,10 +100,13 @@ ### Options when running the script <a name="options"></a>
```YAML
-s, --showedits Show edits made to <model>_host db and db.new file(s)
-n, --noupdate Prevent DSM updating the compatible drive databases
Always use this option unless you need to update
firmware on Synology drives
-r, --ram Disable memory compatibility checking (DSM 7.x only)
and sets max memory to the amount of installed memory
-f, --force Force DSM to not check drive compatibility
Do not use this option unless absolutely needed
Do not use this option with DSM 7.4
-i, --incompatible Change incompatible drives to supported
Do not use this option unless absolutely needed
-w, --wdda Disable WD Device Analytics to prevent DSM showing

27
how_to_schedule.md

@ -1,27 +0,0 @@
# How to schedule a script in Synology Task Scheduler
To schedule a script to run on your Synology at boot-up or shut-down follow these steps:
**Note:** You can setup a schedule task and leave it disabled, so it only runs when you select the task in the Task Scheduler and click on the Run button.
1. Go to **Control Panel** > **Task Scheduler** > click **Create** > and select **Triggered Task**.
2. Select **User-defined script**.
3. Enter a task name.
4. Select **root** as the user (The script needs to run as root).
5. Select **Boot-up** as the event that triggers the task.
6. Leave **Enable** ticked.
7. Click **Task Settings**.
8. Optionally you can tick **Send run details by email** and **Send run details only when the script terminates abnormally** then enter your email address.
9. In the box under **User-defined script** type the path to the script.
- e.g. If you saved the script to a shared folder on volume1 called "scripts" you'd type:
- **/volume1/scripts/syno_hdd_db.sh -nr --autoupdate=3**
- For information on the options see [Options](README.md#options)
11. Click **OK** to save the settings.
Here's some screenshots showing what needs to be set:
<p align="leftr"><img src="images/schedule1.png"></p>
<p align="leftr"><img src="images/schedule2.png"></p>
<p align="leftr"><img src="images/schedule3-2.png"></p>

BIN
images/schedule1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

BIN
images/schedule2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
images/schedule3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

BIN
images/syno_hdd_db.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

BIN
images/syno_hdd_db2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Loading…
Cancel
Save