mirror of
https://github.com/007revad/Synology_enable_M2_card.git
synced 2026-04-25 12:55:52 +03:00
[GH-ISSUE #66] Does not work on DS1825+ running DSM 7.3-81180 #6
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_enable_M2_card#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kennydm00 on GitHub (Oct 24, 2025).
Original GitHub issue: https://github.com/007revad/Synology_enable_M2_card/issues/66
Hi there,
I have some trouble getting the M2D20 with 2x WD_black m.2 to work under my DS1825+ running DSM 7.3-81180.
When I run syno_enable_m2_card.sh I get the following output:
The errors comes from the missing dts_file variable (commented out).
Output when using the check parameter:
Your syno_hdd_db.sh script also don't see the pcie card neither the WD_black SSDs.
The thing is, I can see both m.2 cards when using your syno_create_m2_volume.sh script but the script also don't work. When it tries to create the volume, it fails silently.
The silent fail comes from synostgpool:
Please tell me if I can provide more information and thank you for creating these scripts! (I used your syno_hdd_db.sh script on DSM 7.2 and also your syno_app_mover.sh script)
@007revad commented on GitHub (Oct 25, 2025):
Is there a bin folder in the same folder as the script, and does the bin folder contain dtc ?
@kennydm00 commented on GitHub (Oct 25, 2025):
Yes bin folder and dtc is there
@007revad commented on GitHub (Oct 25, 2025):
I'm updating my DS1821+ to DSM 7.3-81180 to see if it has the same issue - which will make it easier for me to debug and fix.
@007revad commented on GitHub (Oct 25, 2025):
I have 4 of my scripts scheduled to run as root at boot.
Synology_HDD_db
Synology_enable_M2_card
Synology_enable_eunit
Synology_enable_Deduplication
The first 3 use dtc to edit model.dtb and they all worked okay.
While checking the Synology_HDD_db task scheduler log I remembered that Synology_HDD_db automatically adds your installed PCIe M.2 card to model.dtb and edits adapter_cards.conf - so if you run Synology_HDD_db you shouldn't need Synology_enable_M2_card.
If Synology_HDD_db has the same errors then DSM 7.3 may be more strict for a DS1825+ and I'll have to dig deeper. And get you run a test version of Synology_enable_M2_card to see which lines in the script are causing the errors.
@kennydm00 commented on GitHub (Oct 26, 2025):
I also let the syno_hdd_db script run with root at boot-up. But weirdly the script does not recognize the pcie adapter. I also thought that the card is faulty, but the SSDs get mounted to /dev/nvme0n1 and /dev/nvme1n1 respectively. I can also retrieve S.M.A.R.T. information for the m.2 and it's telling me that the SSDs are connected trough the M2D20 card.
@007revad commented on GitHub (Oct 26, 2025):
Try this:
Then run the script again.
@007revad commented on GitHub (Oct 26, 2025):
I've found the problem. You are using v3.1.17, which I have deleted because it had a bug. It is missing a line
dts_file="/tmp/model${hwrev}.dts"so the dts_file variable is empty!I just noticed v3.18-RC is also missing the same line.
Use v3.1.16 or v3.1.19 as they work.
@kennydm00 commented on GitHub (Oct 27, 2025):
Yes, v3.1.19 worked like a charm! Thank you very much for your help!