Open sgmihai opened 1 month ago
How would that look? A popup with grid?
As for your HGST disk you show /dev/sdam on the top screenshot and /dev/sdbe on the bottom, are these disks the same?
I'd want the JSON sudo smartctl -a --json=o /dev/sdam > /tmp/sdam.json
this produces
An option to switch between a list (horizontal scroll) or a grid (vertical scroll) would be optimal, if it's not too complicated to implement.
Will post the json soon.
An option to switch between a list (horizontal scroll) or a grid (vertical scroll) would be optimal, if it's not too complicated to implement.
Will post the json soon.
Ah okay now I got what you meant, yes please send the JSON
Here you go, json of one of the disks: https://pastebin.com/raw/VQK5DD83
Ahhh, a SCSI drive, yeah these are different. QDiskInfo only supports SAT and NVMe at the moment
@sgmihai Compile the latest version and tell me if your scsi drive:
https://i.imgur.com/tIQSOTf.png Better, but, still missing firmware info, it's "A907" in the log. Missing reads/writes info, I think this is the relevant part from the log " "Error counter log:", " Errors Corrected by Total Correction Gigabytes Total", " ECC rereads/ errors algorithm processed uncorrected", " fast | delayed rewrites corrected invocations [10^9 bytes] errors", "read: 0 0 0 0 231780 6170,833 0", "write: 0 42 0 42 277773 9475,177 0","
https://i.imgur.com/tIQSOTf.png Better, but, still missing firmware info, it's "A907" in the log. Missing reads/writes info, I think this is the relevant part from the log " "Error counter log:", " Errors Corrected by Total Correction Gigabytes Total", " ECC rereads/ errors algorithm processed uncorrected", " fast | delayed rewrites corrected invocations [10^9 bytes] errors", "read: 0 0 0 0 231780 6170,833 0", "write: 0 42 0 42 277773 9475,177 0","
Done. Currently for SCSI we show Good if the smart test passed and Bad if it failed. Next, I will try to parse scsi_grown_defect_list and total_uncorrected_errors for the Warning status and perhaps display the scsi_error_counter_log at the bottom table,
If scsi_grown_defect_list is !=0 the status will be caution, I haven't found a good place to display it though, perhaps a popup. The table now has the counter log, the status is caution for uncorrected errors. @sgmihai give it a test
https://i.imgur.com/XdNYs2J.png Not very pracrtical, if you want to see if any is bad at a glance, when you have tens/hundreds of disks.
Also, it fails to detect a HGST SAS disk as HGST : https://i.imgur.com/HoPi0zr.png