Skip to content

v0.32.019

Compare
Choose a tag to compare
@PartialVolume PartialVolume released this 12 Dec 21:01
· 352 commits to master since this release
c4430f1

v0.32.019

Fixes missing serial number on SAS drive.

This was caused by inconsistent labeling of the serial number by smartctl. In a majority of cases smartctl would output serial number data using the label "Serial Number:" however on a SAS drive we found that smartctl output the label as "Serial number:" i.e. differs with a lower case 'n'. Unfortunately we were doing a case sensitive search for "Serial Number" so the result being the serial number was not found.

This patch converts both strings in the search to lower case before searching.

In addition a new field was added to the anonymize list, "logical unit id:" so when the -q option is used "serial number", "lu wwn device id:" and "logical unit id:" are all now anonymized in the smartctl debug data.