MyGit

007revad/Synology_enable_M2_card

Fork: 2 Star: 9 (更新于 1970-01-01 00:00:00)

license: MIT

Language: Shell .

Enable M.2 PCIe cards in Synology NAS that don't officially support them

最后发布版本: v1.0.6 ( 2023-08-10 03:45:38)

GitHub网址

Synology enable M2 card

committers.top badge

Description

Enable Synology M.2 PCIe cards in Synology NAS that don't officially support them

Allows using your E10M20-T1, M2D20 or M2D18 cards in Synology NAS models that aren't on their supported model list.

  • Enables E10M20-T1, M2D20 and M2D18 for DS1821+, DS1621+.
  • Enables M2D18 for DS1823xs+, DS2422+, RS2423+, RS2421+, RS2421RP+, RS2821RP+.
  • Enables M2D18 for RS822RP+, RS822+, RS1221RP+ and RS1221+ using DSM 7.1.1 and older.
  • Enables E10M20-T1, M2D20, M2D18 and M2D17 for other models with a PCIe x8 slot.
Model E10M20-T1 M2D20 M2D18 M2D17 Notes
DS1821+ yes yes yes
DS1621+ yes yes yes
DS1823xs+ yes E10M20-T1 and M2D20 already enabled in DSM
DS2422+ yes E10M20-T1 and M2D20 already enabled in DSM
RS2423+ yes E10M20-T1 and M2D20 already enabled in DSM
RS2421+ yes E10M20-T1 and M2D20 already enabled in DSM
RS2421RP+ yes E10M20-T1 and M2D20 already enabled in DSM
RS2821RP+ yes E10M20-T1 and M2D20 already enabled in DSM
RS822+ yes M2D18 already enabled in DSM 7.2
RS822RP+ yes M2D18 already enabled in DSM 7.2
RS1221+ yes M2D18 already enabled in DSM 7.2
RS1221RP+ yes M2D18 already enabled in DSM 7.2
others yes yes yes yes The NAS must have a PCIe x8 slot

Synology NAS models that this script won't work on:

Model E10M20-T1 M2D20 M2D18 M2D17 Notes
DS923+ no no no no PCIe x2 slot only fits the E10G22-T1
DS723+ no no no no PCIe x2 slot only fits the E10G22-T1
DS1522+ no no no no PCIe x2 slot only fits the E10G22-T1
RS422+ no no no no PCIe x2 slot only fits the E10G22-T1

How to run the script

Download the script

See How to download the script for the easiest way to download the script.

Running the script via SSH

Note: Replace /volume1/scripts/ with the path to where the script is located. Run the script then reboot the Synology:

sudo -i /volume1/scripts/syno_enable_m2_card.sh

Options:

  -c, --check      Check M.2 card status
  -r, --restore    Restore backup to undo changes
  -h, --help       Show this help message
  -v, --version    Show the script version

What about DSM updates?

After any DSM update you will need to run this script again.

Schedule the script to run at shutdown

Or you can schedule Synology_enable_M2_card to run when the Synology shuts down, to avoid having to remember to run the script after a DSM update.

See How to schedule a script in Synology Task Scheduler

Screenshots

Available options

Enabling all M.2 card models

Checking the current M.2 card settings

E10M20-T1 already enabled

All M.2 card models already enabled

Restoring the original M.2 card settings

最近版本更新:(数据更新于 1970-01-01 00:00:00)

2023-08-10 03:45:38 v1.0.6

2023-07-26 16:00:40 v1.0.5

2023-07-19 19:33:12 v1.0.4

2023-07-06 20:49:00 v1.0.2-beta

2023-07-06 19:53:31 v1.0.1-beta

007revad/Synology_enable_M2_card同语言 Shell最近更新仓库

2024-12-23 00:13:50 j-hc/revanced-magisk-module

2024-12-19 20:39:10 chenzyadb/CuprumTurbo-Scheduler

2024-12-17 15:17:35 morytyann/OpenWrt-mihomo

2024-12-11 20:57:35 RROrg/rr

2024-12-09 01:05:08 rustdesk/rustdesk-server-pro

2024-12-03 19:14:14 dockur/windows