SMART not reporting properly on SAS drives since r5022. Was working in r4883

Description

Noticed that in FreeNAS 11.1 U5, smartmontools r4883 are correctly reporting all SAS drive SMART info to GUI and shell. From what i have tested in freenas and truenas, anything past smartctl revision r4883, the drives are reported at 0 degrees C or null in reports and smart queries. Everything worked flawlessly in r4883 and below.

Tested in FreeBSD, CentOS 7 and CentOS 8.

FreeBSD 11.1 U5 and below using smartmontools r4883 and below = working great. (FreeNAS)

Linux using r4883 [x86_64-linux3.10.0-1160.11.1.el7.x86_64] = working great. (CentOS 7)

Linux using r5022 = reporting 0 and nothing past the temps

FreeBSD 12 using smartmontools r5049 [x86_64-linux-4.18.0-240.1.1.el8_3.x86_64] = not working properly.

Seen below comparison screen shots.

Hope this helps and is ok, first ticket i am submitting. I really suspect a scripting change that is not parsing SMART info properly since upgrade from r4883 smartmontools because it did work properly prior to TrueNas12.

thank you!

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk 
February 18, 2021 at 11:26 AM

Bug Clerk 
February 17, 2021 at 9:40 PM

Sean M 
January 20, 2021 at 9:42 PM
(edited)

There, hope this is the way you need it!

Thank you for your patience!

 

Alexander Motin 
January 20, 2021 at 9:23 PM

`sg_logs -aH /dev/daX > /mnt/some_file_path_on_your_pool` and then attach that file here.

Sean M 
January 20, 2021 at 9:07 PM
(edited)

What i have so far:

https://www.smartmontools.org/ticket/1331

 

(Replying to Christian Franke:

Please test r5074 if possible. See ​https://builds.smartmontools.org/ for source tarball and various binaries.

Can confirm this has fixed the issue.)

 

I cannot print out the `sg_logs -aH /dev/da3` command, it's too big to paste. I see over 3000 lines print out and like i said, i am really new to linux so am unsure how to save the log.

sugestions so i can send it to you as a saved txt file?

 

Complete

Details

Assignee

Reporter

Labels

Impact

Components

Priority

More fields

Katalon Platform

Created January 18, 2021 at 12:03 AM
Updated July 1, 2022 at 5:14 PM
Resolved February 18, 2021 at 11:35 AM