SMART test fails on HP Smart Array in HBA mode - /dev/sdX: requires option '-d cciss,N'

Description

Errors:sdg
smartctl failed for disk sdg:
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.93+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdg: requires option '-d cciss,N'
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

I use a HP Smart Array P420 in HBA mode and the error I get in the GUI when launching SMART test is as shown above.

Did some research and found a bugreport on this on bugtracker at smartmontools.
https://www.smartmontools.org/ticket/1472

It seems to be fixed in 7.3 release.
https://www.smartmontools.org/query?milestone=Release+7.3

As you can see in the error message the version used in TrueNAS-SCALE-22.02.0.1 is 7.2 r5155.
Might be as simple as updating the tools in next release of TrueNAS SCALE?

Problem/Justification

None

Impact

None

Activity

Show:

Caleb April 11, 2023 at 3:05 PM

This will be resolved in Cobia when we pull in the newer version of smartmontools.

Caleb April 20, 2022 at 2:22 PM

thanks for that. It looks like you're correct about this being fixed in version 7.3. I'll check to see how we can update that program to latest release.

TrueNAS User April 20, 2022 at 2:15 PM

/sys/block/sdg/device/raid_level is N/A

Caleb April 20, 2022 at 12:01 PM

can you run "cat /sys/block/sdg/device/raid_level" and paste the output here in the ticket?

TrueNAS User April 16, 2022 at 12:37 PM

Maybe it is similar to this issue that seems to suggest it should be fixed for 12.0-U1, SCALE-20.10-ALPHA.

Third Party to Resolve
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

Low

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created April 16, 2022 at 12:33 PM
Updated April 11, 2023 at 3:05 PM
Resolved April 11, 2023 at 3:05 PM