mirror of
https://github.com/007revad/Synology_HDD_db.git
synced 2026-04-25 13:45:59 +03:00
[GH-ISSUE #2] Error: Cannot find hostdb file - DS1817+ running DSM6 #504
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_HDD_db#504
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 @sthulin on GitHub (Feb 26, 2023).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/2
I have a DS1817+ running DSM6, after listing my disks i get the following error:
ERROR: /var/lib/disk-compatibility/ds1817+-j_host.db not found!
when i run "cat /proc/sys/kernel/syno_hw_version" i get back "ds1817+-j" so perhaps the last 2 characters need to be trimmed off in your script?
@007revad commented on GitHub (Feb 27, 2023):
Did you migrate the HDDs from a J model to the 1817+ ?
Do the following also include -j after ds1817+ ?
get_key_value /etc/synoinfo.conf uniqueget_key_value /etc.defaults/synoinfo.conf unique@sthulin commented on GitHub (Feb 27, 2023):
No i bought this new and put new drives in it back in 2018. I have DX517 attached to it as well if that makes a difference. Output for both of those commands are: "synology_avoton_1817+"
@007revad commented on GitHub (Feb 27, 2023):
What about:
cat /proc/cmdline@sthulin commented on GitHub (Feb 27, 2023):
that also says "syno_hw_version=DS1817+" along with a bunch of other stuff
@007revad commented on GitHub (Feb 27, 2023):
Very strange. I'll need to dig deeper into where
cat /proc/cmdlineandcat /proc/sys/kernel/syno_hw_versionget the model number from.In the meantime I'll add a check for -j at the end of the model number and remove it.
@007revad commented on GitHub (Feb 27, 2023):
I've just updated the script with a change to remove "'-j" from the model.
@sthulin commented on GitHub (Feb 27, 2023):
that worked and the script ran. It added my HDDs.