[smartmontools-support] Discrepancy in scsi_grown_defect_list JSON output?
Christian Franke
Christian.Franke at t-online.de
Thu Jun 18 13:43:08 CEST 2020
Hi Ryan,
Ryan Allgaier wrote:
> I have a few SAS drives that unfortunately are reporting defects. The
> drives still consider themselves healthy, so they are still in
> service, but are being monitored at an increased frequency. I'm
> observing a discrepancy in the JSON output vs the human readable output.
>
> Drive A:
> Elements in grown defect list: 1
> "scsi_grown_defect_list": 8,
>
> Drive B:
> Elements in grown defect list: 2
> "scsi_grown_defect_list": 16,
>
> In the code, I observe the following:
>
> jout("Elements in grown defect list: %u\n\n", dl_len / div);
> jglb["scsi_grown_defect_list"] = dl_len;
>
Fixed in r5064. See https://builds.smartmontools.org/ for CI builds.
Thanks,
Christian
More information about the Smartmontools-support
mailing list