* 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?)**.
* Including M.2 drives in PCIe adaptor cards like M2D20, M2D18, M2D17 and E10M20-T1 for DSM 7.2.1 and above **(need to run script after each boot)**.
* Makes DSM recheck disk compatibility so rebooting is not needed if you don't have M.2 drives (DSM 7 only).
* Makes DSM recheck disk compatibility so rebooting is not needed if you don't have M.2 drives (DSM 7 only).
* **If you have M.2 drives you may need to reboot.**
* **If you have M.2 drives you may need to reboot.**
* Reminds you that you may need to reboot the Synology after running the script.
* Reminds you that you may need to reboot the Synology after running the script.
@ -41,6 +42,8 @@ ### Download the script
See <ahref=images/how_to_download.png/>How to download the script</a> for the easiest way to download the script.
See <ahref=images/how_to_download.png/>How to download the script</a> for the easiest way to download the script.
Do ***NOT*** save the script to a M.2 volume. The M.2 volume won't be available until after the script has run.
### When to run the script
### When to run the script
You would need to re-run the script after a DSM update. If you have DSM set to auto update the best option is to run the script every time the Synology boots, and the best way to do that is to <ahref=how_to_schedule.md/>setup a scheduled task</a> to run the the script at boot-up.
You would need to re-run the script after a DSM update. If you have DSM set to auto update the best option is to run the script every time the Synology boots, and the best way to do that is to <ahref=how_to_schedule.md/>setup a scheduled task</a> to run the the script at boot-up.
@ -75,6 +78,8 @@ ### Scheduling the script in Synology's Task Scheduler
### Running the script via SSH
### Running 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)
You run the script in a shell with sudo -i or as root.
You run the script in a shell with sudo -i or as root.