PVE GUI: SMART status of a SAS-HDD is "Unknown", likely due to the used HBA adapter

Dec 25, 2021
18
1
6
63
I'm using a SanDisk X421_HCOBE450A10, 450 GB, with this HBA adapter:

HPE H241 12Gb 2-ports Ext Smart Host Bus Adapter 726911-B21

However, the SMART status given is "Unknown". If I run smartctl manually it requires the option -d cciss,X (X is a placeholder for the drive number beginning with 0, so with several HDDs this needs to be incremented), with smartctl -d cciss,0 -a /dev/sda I get proper results.

I have added the line push @$cmd, '-d cciss,0'; to /usr/share/perl5/PVE/Diskmanage.pm but that breaks the script, both HDDs get shown with SMART status "Unknown". Any ideas about what to do? I don't have this problem using other HBA adapters.
 

Attachments

  • Selection_001.png
    Selection_001.png
    70.8 KB · Views: 26
  • Selection_002.png
    Selection_002.png
    156.8 KB · Views: 23
  • Selection_003.png
    Selection_003.png
    90.4 KB · Views: 20
  • Selection_005.png
    Selection_005.png
    109.9 KB · Views: 25
Last edited:
Since you have to add `cciss` to smartctl it most likely is a RAID controller that hides the disk information from the host.