mirror of
https://github.com/007revad/Synology_SMART_info.git
synced 2026-04-25 08:05:48 +03:00
[GH-ISSUE #30] Error counter loggin not supported not catched and reported #5
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_SMART_info#5
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 @framps on GitHub (Sep 25, 2025).
Original GitHub issue: https://github.com/007revad/Synology_SMART_info/issues/30
I run this nice script for a long time now on my Synology to track my SMART values. Great tool 👍
But I just noticed by chance
and syno_smart_info reports No errors logged
I would expect a message like Error logging not supported.
I however I get another message when I use
-d satSo my question is whether
-d satis missing to get an error log counter or the code should be modified to report the missing error log capability of the disk.@007revad commented on GitHub (Sep 25, 2025):
Sometimes smartctl cannot auto detect the drive type, so you need to specify
-d satfor SATA drives or-d scsifor SAS drives.Which DSM version? Which Synology model?
I'm getting the same thing as you in DSM 6.2.4 on a DS1812+
Without -d sat
With -d sat
But with DSM 7.2.2 on a DS1821+ both
-l errorand-l error -d satgive the same result:Without -d sat
With -d sat
@framps commented on GitHub (Sep 26, 2025):
7.2.2.-72806, DS418play
So I do net get the same result like you. Without
-d saterror logging is not supported.That's my disk:
If I pass
-d satI getSo it looks for me for my disk the option
-d satshould be passed in order to get an error log count. In addition the retrieval of the error count should check whether an error count is available and inform/warn about this and inform option-d sator-d scsishould be added. Maybe the type (sata or scsi) can be queried somewhere?@007revad commented on GitHub (Sep 27, 2025):
Fixed in v1.3.17
I'll add a check if "Error Counter logging not supported" was returned in v1.3.18
@007revad commented on GitHub (Sep 27, 2025):
I've got a new version working with WD drives. I had 2 faulty WD drives sitting on my desk :o)
I'll upload it to GitHub after some more testing.
And I got it showing "Error Counter logging not supported" or "SMART Error Log not supported" if that's what was returned, like this SATA SSD drive that does not support SMART error logging.
@framps commented on GitHub (Sep 27, 2025):
v1.3.17 works perfectly on my system 👍
@framps commented on GitHub (Sep 28, 2025):
Verified with 1.3.18 successfully