Browse Source

Update README.md

pull/213/head
Dave Russell 2 years ago
committed by GitHub
parent
commit
076388b20d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      README.md

24
README.md

@ -29,6 +29,8 @@ #### What the script does:
* Optionally disable DSM's "support_memory_compatibility" to prevent <a href=images/ram_warning.png/>non-Synology memory notifications</a>. * Optionally disable DSM's "support_memory_compatibility" to prevent <a href=images/ram_warning.png/>non-Synology memory notifications</a>.
* Optionally edits max supported memory to match the amount of memory installed, if installed memory is greater than the current max memory setting. * Optionally edits max supported memory to match the amount of memory installed, if installed memory is greater than the current max memory setting.
* DSM only uses the max memory setting when calculating the reserved RAM area size for SSD caches. * DSM only uses the max memory setting when calculating the reserved RAM area size for SSD caches.
* Optionally disables Western Digital Device Analytics (aka WDDA) to prevent DSM showing a [warning for WD drives that are 3 years old](https://arstechnica.com/gadgets/2023/06/clearly-predatory-western-digital-sparks-panic-anger-for-age-shaming-hdds).
* DSM 7.2.1 already has WDDA disabled.
* Enables M2D20, M2D18, M2D17 and E10M20-T1 if present on Synology NAS that don't officially support them. * Enables M2D20, M2D18, M2D17 and E10M20-T1 if present on Synology NAS that don't officially support them.
* Checks that M.2 volume support is enabled (on models that have M.2 slots or PCIe slots). * Checks that M.2 volume support is enabled (on models that have M.2 slots or PCIe slots).
* Enables creating M.2 storage pools and volumes from within Storage Manager **(newer models only?)**. * Enables creating M.2 storage pools and volumes from within Storage Manager **(newer models only?)**.
@ -59,21 +61,27 @@ ### Options when running the script <a name="options"></a>
```YAML ```YAML
-s, --showedits Show edits made to <model>_host db and db.new file(s) -s, --showedits Show edits made to <model>_host db and db.new file(s)
-n, --noupdate Prevent DSM updating the compatible drive databases -n, --noupdate Prevent DSM updating the compatible drive databases
-m, --m2 Don't process M.2 drives -r, --ram Disable memory compatibility checking (DSM 7.x only)
-f, --force Force DSM to not check drive compatibility
-r, --ram Disable memory compatibility checking (DSM 7.x only),
and sets max memory to the amount of installed memory and sets max memory to the amount of installed memory
-w, --wdda Disable WD WDDA -w, --wdda Disable WD Device Analytics to prevent DSM showing
-e, --email Disable colored text in output scheduler emails. a false warning for WD drives that are 3 years old
DSM 7.2.1 already has WDDA disabled.
-f, --force Force DSM to not check drive compatibility
Do not use this option unless absolutely needed.
-e, --email Disable colored text in output scheduler emails
--restore Undo all changes made by the script --restore Undo all changes made by the script
--autoupdate=AGE Auto update script (useful when script is scheduled) --autoupdate=AGE Auto update script (useful when script is scheduled)
AGE is how many days old a release must be before AGE is how many days old a release must be before.
auto-updating. AGE must be a number: 0 or greater auto-updating. AGE must be a number: 0 or greater.
-h, --help Show this help message -h, --help Show this help message
-v, --version Show the script version -v, --version Show the script version
``` ```
**Note:** If you have some Synology drives and want to update their firmware run the script **without** --noupdate or -n then do the drive database update from Storage Manager and finally run the script again with your preferred options. **Notes:**
- The -f or --force option is only needed if for some reason your drives still show as unsupported in storage manager.
- Only use this option as last resort.
- Using this option will prevent data deduplication from being available, and prevent firmware updates on Synology brand drives.
- If you have some Synology drives and want to update their firmware run the script **without** --noupdate or -n then do the drive database update from Storage Manager and finally run the script again with your preferred options.
### Scheduling the script in Synology's Task Scheduler ### Scheduling the script in Synology's Task Scheduler

Loading…
Cancel
Save