[GH-ISSUE #154] Error in running hdd_db script #66

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

Originally created by @tianli9 on GitHub (Oct 19, 2023).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/154

image

Originally created by @tianli9 on GitHub (Oct 19, 2023). Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/154 ![image](https://github.com/007revad/Synology_HDD_db/assets/95733738/5ab3a005-4554-451e-830c-b2aac121deb5)
kerem closed this issue 2026-03-07 19:14:59 +03:00
Author
Owner

@007revad commented on GitHub (Oct 19, 2023):

Did you get the same error the first time you ran syno_hdd-db?

It looks like your HDDs were migrated from a different Synology model?

What does this command return:
ls /sys/block | grep -E "(sata|sd)"

Can you save a copy of ds920+_host.db
cp /var/lib/disk-compatibility/ds920+_host.db /volume1/BACKUP

Then go to your BACKUP shared folder, zip ds920+_host.db and attach the zip file to your reply here.

<!-- gh-comment-id:1771809105 --> @007revad commented on GitHub (Oct 19, 2023): Did you get the same error the first time you ran syno_hdd-db? It looks like your HDDs were migrated from a different Synology model? What does this command return: `ls /sys/block | grep -E "(sata|sd)"` Can you save a copy of ds920+_host.db `cp /var/lib/disk-compatibility/ds920+_host.db /volume1/BACKUP` Then go to your BACKUP shared folder, zip ds920+_host.db and attach the zip file to your reply here.
Author
Owner

@tianli9 commented on GitHub (Oct 20, 2023):

Thanks for feedback.
I cant remember what happened on the very first time to run this script, it may works at that time, or not, at least i run it for times, it is not a one time success action.
This is the result i run your command
image
and i saved the ds920+_host.db and here is the copy.
ds920+_host.zip
Thanks again for helping on this.

<!-- gh-comment-id:1772796655 --> @tianli9 commented on GitHub (Oct 20, 2023): Thanks for feedback. I cant remember what happened on the very first time to run this script, it may works at that time, or not, at least i run it for times, it is not a one time success action. This is the result i run your command ![image](https://github.com/007revad/Synology_HDD_db/assets/95733738/28259f9e-8bc5-47ae-a60e-2945f672aaae) and i saved the ds920+_host.db and here is the copy. [ds920+_host.zip](https://github.com/007revad/Synology_HDD_db/files/13055023/ds920%2B_host.zip) Thanks again for helping on this.
Author
Owner

@007revad commented on GitHub (Oct 20, 2023):

Can you run the script again, and let the script update itself to the new version.

Or download the new version here:
https://github.com/007revad/Synology_HDD_db/releases/tag/v3.1.65

<!-- gh-comment-id:1773281518 --> @007revad commented on GitHub (Oct 20, 2023): Can you run the script again, and let the script update itself to the new version. Or download the new version here: https://github.com/007revad/Synology_HDD_db/releases/tag/v3.1.65
Author
Owner

@tianli9 commented on GitHub (Oct 20, 2023):

It works!Thanks!
image
So, i need to run this script after every DSM update right?

<!-- gh-comment-id:1773535969 --> @tianli9 commented on GitHub (Oct 20, 2023): It works!Thanks! ![image](https://github.com/007revad/Synology_HDD_db/assets/95733738/1f8d054d-fe08-4f05-af55-84cac7efc564) So, i need to run this script after every DSM update right?
Author
Owner

@007revad commented on GitHub (Oct 21, 2023):

It works!

Excellent.

So, i need to run this script after every DSM update right?

Yes. And after adding any different drives.

Or you can schedule the script to run when the Synology boots up. https://github.com/007revad/Synology_HDD_db/blob/main/how_to_schedule.md

<!-- gh-comment-id:1773568786 --> @007revad commented on GitHub (Oct 21, 2023): > It works! Excellent. > So, i need to run this script after every DSM update right? Yes. And after adding any different drives. Or you can schedule the script to run when the Synology boots up. https://github.com/007revad/Synology_HDD_db/blob/main/how_to_schedule.md
Author
Owner

@tianli9 commented on GitHub (Oct 21, 2023):

Awesome! Have a nice day!

<!-- gh-comment-id:1773572714 --> @tianli9 commented on GitHub (Oct 21, 2023): Awesome! Have a nice day!
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#66
No description provided.