Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost M.2 PCIe Card E10M20-T1 after update to DSM 7.2.2-72806 #377

Open
RozzNL opened this issue Oct 24, 2024 · 13 comments
Open

Lost M.2 PCIe Card E10M20-T1 after update to DSM 7.2.2-72806 #377

RozzNL opened this issue Oct 24, 2024 · 13 comments

Comments

@RozzNL
Copy link

RozzNL commented Oct 24, 2024

After updating my DS1821+ to DSM 7.2.2-72806 the M.2 PCIe card E10M20-T1 is not found and i have "lost" my Storage Pool
Ran great with DSM 7.2.1xxxx

@RozzNL RozzNL changed the title Lost M2 PCIE Caard after update to DSM 7.2.2-72806 Lost M2 PCIE Card after update to DSM 7.2.2-72806 Oct 24, 2024
@RozzNL
Copy link
Author

RozzNL commented Oct 24, 2024

root@DS1821:~# /volume1/homes/admin/Scripts/syno_hdd_db.sh -nfr
Synology_HDD_db v3.5.103
DS1821+ DSM 7.2.2-72806
StorageManager 1.0.0-00502

ds1821+_host_v7 version 8058

Using options: -nfr
Running from: /volume1/homes/admin/Scripts/syno_hdd_db.sh

HDD/SSD models found: 2
ST14000NM001G-2KJ103,SN03,14000 GB
ST16000NM001G-2KK103,SN03,16000 GB

M.2 drive models found: 1
Samsung SSD 970 EVO 1TB,2B2QEXE7,1000 GB

No M.2 PCIe cards found

No Expansion Units found

ST14000NM001G-2KJ103 already exists in ds1821+_host_v7.db
ST16000NM001G-2KK103 already exists in ds1821+_host_v7.db
Samsung SSD 970 EVO 1TB already exists in ds1821+_host_v7.db

Support disk compatibility already disabled.

Support memory compatibility already disabled.

Max memory already set to 64 GB.

NVMe support already enabled.

M.2 volume support already enabled.

Drive db auto updates already disabled.

DSM successfully checked disk compatibility.

You may need to reboot the Synology to see the changes.

@RozzNL
Copy link
Author

RozzNL commented Oct 24, 2024

Synology_DS1821+StoragePool3

@RozzNL
Copy link
Author

RozzNL commented Oct 24, 2024

Tried to use your Reinstall_DSM but can not roll-back to DSM 7.2.1xxx

@RozzNL
Copy link
Author

RozzNL commented Oct 24, 2024

/volume1/homes/admin/Scripts/syno_enable_m2_card.sh
Synology_enable_M2_card v1.0.6
DS1821+ DSM 7.2.2-72802 (=due to multiple dsm_reinstall.sh)

There is a newer version of this script available.
Current version: v1.0.6
Latest version: v3.1.16
Do you want to download v3.1.16 now? [y/n]
y
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 366k 0 366k 0 0 642k 0 --:--:-- --:--:-- --:--:-- 642k

v3.1.16 and changes.txt downloaded to: /volume1/homes/admin/Scripts

Synology_enable_M2_card v3.1.16
DS1821+ DSM 7.2.2-72802

StorageManager 1.0.0-00502

Running from: /volume1/homes/admin/Scripts/syno_enable_m2_card.sh

  1. E10M20-T1 3) M2D18 5) ALL
  2. M2D20 4) M2D17 6) Quit
    Select your M.2 Card: 1

Backed up /usr/syno/etc.defaults/adapter_cards.conf
Enabled E10M20-T1 NIC for DS1821+
Enabled E10M20-T1 NVMe for DS1821+

Need to download dtc
Do you want to download dtc? [y/n]
y

Downloading dtc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 146k 100 146k 0 0 624k 0 --:--:-- --:--:-- --:--:-- 626k
Downloaded md5: 01381dabbe86e13a2f4a8017b5552918
Backed up /etc.defaults/model.dtb
Added E10M20-T1 to model.dtb

The Synology needs to restart.
Type yes to reboot now.
Type anything else to quit (if you will restart it yourself).

@RozzNL
Copy link
Author

RozzNL commented Oct 24, 2024

After running syno_enable_m2_card.sh, E10M20-T1 with its storagepool came back online!

Synology_DS1821+StoragePool3-2

Synology_DS1821+StoragePool3-1

@RozzNL
Copy link
Author

RozzNL commented Oct 24, 2024

Synology_DS1821+StoragePool3-3

@RozzNL RozzNL changed the title Lost M2 PCIE Card after update to DSM 7.2.2-72806 Lost M2 PCIE Card E10M20-T1 after update to DSM 7.2.2-72806 Oct 24, 2024
@RozzNL RozzNL changed the title Lost M2 PCIE Card E10M20-T1 after update to DSM 7.2.2-72806 Lost M.2 PCIe Card E10M20-T1 after update to DSM 7.2.2-72806 Oct 24, 2024
@007revad
Copy link
Owner

After running syno_enable_m2_card.sh, E10M20-T1 with its storagepool came back online!

After the last DSM update I discovered you can set a "pre-task" to a triggered scheduled task. This will make sure that "syno_enable_m2_card.sh --model=E10M20-T1" runs before syno_hdd_db.sh

image

image

But I'd still need to reboot after a DSM update has finished and booted up.

Need to download dtc
Do you want to download dtc? [y/n]

This is strange. Syno_hdd_db should have installed dtc, and when syno_enable_m2_card updated it should have included /bin/dtc

@RozzNL
Copy link
Author

RozzNL commented Oct 26, 2024

Changed the taskscheduler to include the pre-task, thanks.
Is there any way i can help you further to prevent this happening again or to others?

What is dtc? saw in your github comment this was applicable so said YES to install.

@007revad
Copy link
Owner

dtc (device tree compiler) is a tiny linux cli program used to decompile and compile device tree blobs, which allows adding device information without compiling a new kernel. Synology models from 2020 onwards that use a CPU that Synology hadn't used before all use a device tree blob named model.dtb. To enable E10M20-T1, M2D20, M2D18 or M2D17 on NAS models that don't already support them the script needs dtc, which is not included in DSM.

I'm trying to think how to prevent the same thing happening to other people.

@RozzNL
Copy link
Author

RozzNL commented Oct 26, 2024

Before this 7.2.2 update all was well, i did however use the hdd_db at shutdown instead of at bootup, but it should not matter i think?

@barthuijgen
Copy link

My M2 storage pool also broke after 7.2.2 update. But I can't find this syno_enable_m2_card.sh script you are referring to, its not in this repository, where can I find it?

@RozzNL
Copy link
Author

RozzNL commented Nov 2, 2024

My M2 storage pool also broke after 7.2.2 update. But I can't find this syno_enable_m2_card.sh script you are referring to, its not in this repository, where can I find it?

https://github.com/007revad/Synology_enable_M2_card

@daviddesmet
Copy link

daviddesmet commented Nov 5, 2024

You just saved my day!
I recently updated to 7.2.2 and faced the same issue; I created a new task that runs the syno_enable_m2_card.sh script and updated the syno_hdd_db.sh to run that previous task before. Did a reboot and my storage pool is back!

In my specific case it is the E10M20-T1 in a RS822+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants