[GH-ISSUE #88] Interesting output after running script #37

Closed
opened 2026-03-07 19:14:23 +03:00 by kerem · 6 comments
Owner

Originally created by @TheCableGuy99 on GitHub (Jun 12, 2023).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/88

Hi,

I just updated the script and thought i'd run it then noticed something interesting:

Synology_HDD_db v2.2.47
DS1821+ DSM 7.2-64551 RC
Using options:

HDD/SSD models found: 6
ST8000DM0004-1ZC11G,DN01
WD60EFAX-68JH4N1,0A83
WD60EFAX-68SHWN0,0A82
WD60EFRX-68L0BN1,0A82
WD60EFRX-68MYMN1,0A82
WD60EFZX-68B3FN0,0A81

M.2 drive models found: 2
Samsung SSD 970 EVO Plus 1TB,1B2QEXM7
Samsung SSD 970 EVO Plus 1TB,2B2QEXM7

No M.2 cards found

Expansion Unit models found: 1
DX517

Added ST8000DM0004-1ZC11G to ds1821+_host_v7.db
Added ST8000DM0004-1ZC11G to dx517_v7.db
Added WD60EFAX-68JH4N1 to ds1821+_host_v7.db
Added WD60EFAX-68JH4N1 to dx517_v7.db
Added WD60EFAX-68SHWN0 to ds1821+_host_v7.db
Updated WD60EFAX-68SHWN0 to dx517_v7.db
Added WD60EFRX-68L0BN1 to ds1821+_host_v7.db
Updated WD60EFRX-68L0BN1 to dx517_v7.db
Added WD60EFRX-68MYMN1 to ds1821+_host_v7.db
Updated WD60EFRX-68MYMN1 to dx517_v7.db
Updated WD60EFZX-68B3FN0 to ds1821+_host_v7.db
Updated WD60EFZX-68B3FN0 to dx517_v7.db
Added Samsung SSD 970 EVO Plus 1TB to ds1821+_host_v7.db
Updated Samsung SSD 970 EVO Plus 1TB to ds1821+_host_v7.db

Support disk compatibility already enabled.

Support memory compatibility already enabled.

M.2 volume support already enabled.

Drive db auto updates already enabled.

DSM successfully checked disk compatibility.

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

Note it finds my 2 M.2 cards then says immediately after that there are non found. I'm not sure if this is a problem or not, or just a small bug but thought it was best to report it.

Also, have you implemented the auto-update feature yet? If so, how do I enable it please?

Thanks.

Originally created by @TheCableGuy99 on GitHub (Jun 12, 2023). Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/88 Hi, I just updated the script and thought i'd run it then noticed something interesting: ```root@SHS1:/volume1# ./syno_hdd_db.sh Synology_HDD_db v2.2.47 DS1821+ DSM 7.2-64551 RC Using options: HDD/SSD models found: 6 ST8000DM0004-1ZC11G,DN01 WD60EFAX-68JH4N1,0A83 WD60EFAX-68SHWN0,0A82 WD60EFRX-68L0BN1,0A82 WD60EFRX-68MYMN1,0A82 WD60EFZX-68B3FN0,0A81 M.2 drive models found: 2 Samsung SSD 970 EVO Plus 1TB,1B2QEXM7 Samsung SSD 970 EVO Plus 1TB,2B2QEXM7 No M.2 cards found Expansion Unit models found: 1 DX517 Added ST8000DM0004-1ZC11G to ds1821+_host_v7.db Added ST8000DM0004-1ZC11G to dx517_v7.db Added WD60EFAX-68JH4N1 to ds1821+_host_v7.db Added WD60EFAX-68JH4N1 to dx517_v7.db Added WD60EFAX-68SHWN0 to ds1821+_host_v7.db Updated WD60EFAX-68SHWN0 to dx517_v7.db Added WD60EFRX-68L0BN1 to ds1821+_host_v7.db Updated WD60EFRX-68L0BN1 to dx517_v7.db Added WD60EFRX-68MYMN1 to ds1821+_host_v7.db Updated WD60EFRX-68MYMN1 to dx517_v7.db Updated WD60EFZX-68B3FN0 to ds1821+_host_v7.db Updated WD60EFZX-68B3FN0 to dx517_v7.db Added Samsung SSD 970 EVO Plus 1TB to ds1821+_host_v7.db Updated Samsung SSD 970 EVO Plus 1TB to ds1821+_host_v7.db Support disk compatibility already enabled. Support memory compatibility already enabled. M.2 volume support already enabled. Drive db auto updates already enabled. DSM successfully checked disk compatibility. You may need to reboot the Synology to see the changes. ``` Note it finds my 2 M.2 cards then says immediately after that there are non found. I'm not sure if this is a problem or not, or just a small bug but thought it was best to report it. Also, have you implemented the auto-update feature yet? If so, how do I enable it please? Thanks.
kerem closed this issue 2026-03-07 19:14:23 +03:00
Author
Owner

@007revad commented on GitHub (Jun 12, 2023):

HDD/SSD models found: 6
ST8000DM0004-1ZC11G,DN01
WD60EFAX-68JH4N1,0A83
WD60EFAX-68SHWN0,0A82
WD60EFRX-68L0BN1,0A82
WD60EFRX-68MYMN1,0A82
WD60EFZX-68B3FN0,0A81

The HDDs are all showing only the last 4 characters of their firmware version. This is due to a change in DSM 7.2

No M.2 cards found

That is actually referring to PCIe cards that you can install M.2 drives on like the M2D20, M2D18 and E10M20-T1.
I should change the "No M.2 cards found" to "No M.2 PCIe cards found" to make it clearer.

I've fixed the HDD 4 character firmware version issue and added auto-update, but the release is still RC.
https://github.com/007revad/Synology_HDD_db/releases/tag/v2.3.51-RC

The --autoupdate=[age] option requires a digit for the number of days after new version is released to wait before updating. You can use --autoupdate=0 to update right away. The script also reloads itself so when you run it unattended (scheduled) it can update itself and run the new version.

<!-- gh-comment-id:1587074597 --> @007revad commented on GitHub (Jun 12, 2023): > HDD/SSD models found: 6 > ST8000DM0004-1ZC11G,DN01 > WD60EFAX-68JH4N1,0A83 > WD60EFAX-68SHWN0,0A82 > WD60EFRX-68L0BN1,0A82 > WD60EFRX-68MYMN1,0A82 > WD60EFZX-68B3FN0,0A81 The HDDs are all showing only the last 4 characters of their firmware version. This is due to a change in DSM 7.2 > No M.2 cards found That is actually referring to PCIe cards that you can install M.2 drives on like the M2D20, M2D18 and E10M20-T1. I should change the "**No M.2 cards found**" to "**No M.2 PCIe cards found**" to make it clearer. I've fixed the HDD 4 character firmware version issue and added auto-update, but the release is still RC. https://github.com/007revad/Synology_HDD_db/releases/tag/v2.3.51-RC The --autoupdate=[age] option requires a digit for the number of days after new version is released to wait before updating. You can use --autoupdate=0 to update right away. The script also reloads itself so when you run it unattended (scheduled) it can update itself and run the new version.
Author
Owner

@tmnext commented on GitHub (Jun 12, 2023):

May I just ask here for the "unattended" - do you recommend scheduled tasks as root at shutdown or boot-up when running both hdd_db and enable_m2 script? The guide recommends both depending on script.

<!-- gh-comment-id:1588262063 --> @tmnext commented on GitHub (Jun 12, 2023): May I just ask here for the "unattended" - do you recommend scheduled tasks as root at shutdown or boot-up when running both hdd_db and enable_m2 script? The guide recommends both depending on script.
Author
Owner

@TheCableGuy99 commented on GitHub (Jun 13, 2023):

I didn't actually notice the lack of digits on the firmware version but glad to know it's another bug squished :)

Thanks for confirming what the M.2 line means also :)

And I really like how you've added that it will update itself and then run itself again. I'm going to wait for the official release though to be sure it's good :)

Just to confirm though, when I do set it, my current script is set in Synology Task manager with the script as follows:
/volume1/syno_hdd_db.sh

Would I change this to:
/volume1/syno_hdd_db.sh --autoupdate=0

or does it need to go in some quotes because there's a space like so:
"/volume1/syno_hdd_db.sh --autoupdate=0"

Thanks for all your help :)

<!-- gh-comment-id:1588272756 --> @TheCableGuy99 commented on GitHub (Jun 13, 2023): > I didn't actually notice the lack of digits on the firmware version but glad to know it's another bug squished :) Thanks for confirming what the M.2 line means also :) And I really like how you've added that it will update itself and then run itself again. I'm going to wait for the official release though to be sure it's good :) Just to confirm though, when I do set it, my current script is set in Synology Task manager with the script as follows: /volume1/syno_hdd_db.sh Would I change this to: /volume1/syno_hdd_db.sh --autoupdate=0 or does it need to go in some quotes because there's a space like so: "/volume1/syno_hdd_db.sh --autoupdate=0" Thanks for all your help :)
Author
Owner

@TheCableGuy99 commented on GitHub (Jun 13, 2023):

@70m7E I don't think you need both scripts, I think the syno_hdd_db.sh script does it all.... but i'm not 100% so maybe @007revad could confirm?

I'm running M.2's as volumes and i'm only running the syno_hdd_db.sh script at boot personally.

<!-- gh-comment-id:1588275086 --> @TheCableGuy99 commented on GitHub (Jun 13, 2023): @70m7E I don't think you need both scripts, I think the syno_hdd_db.sh script does it all.... but i'm not 100% so maybe @007revad could confirm? I'm running M.2's as volumes and i'm only running the syno_hdd_db.sh script at boot personally.
Author
Owner

@007revad commented on GitHub (Jun 13, 2023):

May I just ask here for the "unattended" - do you recommend scheduled tasks as root at shutdown or boot-up when running both hdd_db and enable_m2 script? The guide recommends both depending on script.

@70m7E Yes, if you need the enable_m2 script I would add it to the same schedule as hdd_db, so you'd have 2 lines in the scheduled task: 1 for each script.

The syno_hdd_db.sh script is all that's needed for most current and recent Synology models.

<!-- gh-comment-id:1588454007 --> @007revad commented on GitHub (Jun 13, 2023): > May I just ask here for the "unattended" - do you recommend scheduled tasks as root at shutdown or boot-up when running both hdd_db and enable_m2 script? The guide recommends both depending on script. @70m7E Yes, _**if you need the enable_m2 script**_ I would add it to the same schedule as hdd_db, so you'd have 2 lines in the scheduled task: 1 for each script. The syno_hdd_db.sh script is all that's needed for most current and recent Synology models.
Author
Owner

@007revad commented on GitHub (Jun 13, 2023):

@TheCableGuy99

Would I change this to:
/volume1/syno_hdd_db.sh --autoupdate=0

Yes.

You would need quotes if the path had a space, and then you'd only quote the path/filename part like:
"/volume1/my path/syno_hdd_db.sh" --autoupdate=0

If you want to also use the -n and -f options you'd use:
/volume1/syno_hdd_db.sh --autoupdate=0 -nf

Or
/volume1/syno_hdd_db.sh --autoupdate=0 -n -f

<!-- gh-comment-id:1588459218 --> @007revad commented on GitHub (Jun 13, 2023): @TheCableGuy99 > Would I change this to: > /volume1/syno_hdd_db.sh --autoupdate=0 Yes. You would need quotes if the path had a space, and then you'd only quote the path/filename part like: "/volume1/my path/syno_hdd_db.sh" --autoupdate=0 If you want to also use the -n and -f options you'd use: /volume1/syno_hdd_db.sh --autoupdate=0 -nf Or /volume1/syno_hdd_db.sh --autoupdate=0 -n -f
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_HDD_db#37
No description provided.