LSI 9300-8i not seen by storcli

GreyGoo

Cadet
Joined
Mar 6, 2022
Messages
4
Hello TrueNAS community!

TrueNAS Core 12.0 U8
Proxmox 7.1-10

Asus X99-E WS/USB3.1 (latest BIOS)
LSI 9300-8i (IT mode, latest firmware)
8x HUH721212ALE60

Running a truenas VM on proxmox, storcli fails to find the passed through 9300-8i controller. While the controller and the connected Drives are visible to the OS and TrueNAS.

Id exclude a problem with proxmox passthrough or the HW itself, storcli detects the controller if passed to a Ubuntu VM or a Debian VM.

Any ideas?

Tested with TrueNAS installed in UEFI and BIOS modes.

Tested storcli versions
  • 007.1207.0000.0000 Sep 25, 2019 (onboard with TrueNAS Core 12.0 U8)
  • 007.1705.0000.0000 Mar 31, 2021
  • 007.1912.0000.0000 Nov 23, 2021 (latest)
Code:
root@truenas[~]# storcli show all
CLI Version = 007.1207.0000.0000 Sep 25, 2019
Operating system = FreeBSD 12.2-RELEASE-p12
Status Code = 0
Status = Success
Description = None

Number of Controllers = 0
Host Name = truenas.local
Operating System  = FreeBSD 12.2-RELEASE-p12
StoreLib IT Version = 07.1300.0200.0000


Code:
root@truenas[~]# pciconf -lv
mpr0@pci0:6:16:0:       class=0x010700 card=0x30e01000 chip=0x00971000 rev=0x02 hdr=0x00
    vendor     = 'Broadcom / LSI'
    device     = 'SAS3008 PCI-Express Fusion-MPT SAS-3'
    class      = mass storage
    subclass   = SAS


Code:
root@truenas[/temp]# uname -a
FreeBSD truenas.local 12.2-RELEASE-p12 FreeBSD 12.2-RELEASE-p12 ec84e0c52a1(HEAD) TRUENAS  amd64
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
storcli is a tool used to talk to MFI/MRSAS driver based RAID controllers.

You have an HBA, which is what you should have.

You also cannot configure the ethernet address on your hard drives. :smile:
 

GreyGoo

Cadet
Joined
Mar 6, 2022
Messages
4
storcli is a tool used to talk to MFI/MRSAS driver based RAID controllers.

You have an HBA, which is what you should have.

You also cannot configure the ethernet address on your hard drives. :smile:
Thank you for the reply.

For sure, storcli is intended to manage RAID controllers in first place. Also it can be used for some limited operations for a HBA. Like updating the firmware or wiping the drives. Anyhow my only intent is to read the chip temprature for monitoring purposes.

Im not getting the "ethernet addres on hard drives" thing. Is that a local gag? :confused:
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
exclude a problem with proxmox passthrough

Proxmox passthru has proven to be twitchy in the past. It's still listed as experimental on their own support pages.

limited operations for a HBA. Like updating the firmware or wiping the drives. Anyhow my only intent is to read the chip temprature for monitoring purposes.

Limited, indeed. Since the average forum user is coming in trying to do "the wrong thing" with the tool, it probably would have been useful for you to indicate your intent up front.

It's a little curious that mpr0 looks to be showing up but storcli isn't picking up on it. Does /dev/mpr0 exist? Does mprutil work? Do drives show up in camcontrol devlist?
 

GreyGoo

Cadet
Joined
Mar 6, 2022
Messages
4
Hello again. I have to agree, should been talking about my reasons up front.

/dev/mpr0 do exist and
Code:
mprutil show adapter
shows up the adapter incl. the temprature :grin: This does the job! Also the drives do show up in the camcontrol devlist.

Thaky you for your help jgreco!
 

GreyGoo

Cadet
Joined
Mar 6, 2022
Messages
4
It still does not work.
Im open for further debugging if you have additional suggestions.

Code:
root@truenas[/dev]# mprutil show adapter
mpr0 Adapter:
       Board Name: SAS9300-8i
   Board Assembly:
        Chip Name: LSISAS3008
    Chip Revision: ALL
    BIOS Revision: 8.37.00.00
Firmware Revision: 16.00.10.00
  Integrated RAID: no
         SATA NCQ: ENABLED
 PCIe Width/Speed: x8 (8.0 GB/sec)
        IOC Speed: Full
      Temperature: 65 C

PhyNum  CtlrHandle  DevHandle  Disabled  Speed   Min    Max    Device
0       0001        0009       N         6.0     3.0    12     SAS Initiator
1       0002        000a       N         6.0     3.0    12     SAS Initiator
2       0003        000b       N         6.0     3.0    12     SAS Initiator
3       0004        000c       N         6.0     3.0    12     SAS Initiator
4       0005        000d       N         6.0     3.0    12     SAS Initiator
5       0006        000e       N         6.0     3.0    12     SAS Initiator
6       0007        000f       N         6.0     3.0    12     SAS Initiator
7       0008        0010       N         6.0     3.0    12     SAS Initiator


Code:
root@truenas[/dev]# camcontrol devlist
<QEMU QEMU HARDDISK 2.5+>          at scbus0 target 0 lun 0 (pass0,da0)
<ATA HGST HUH721212AL T925>        at scbus1 target 0 lun 0 (pass1,da1)
<ATA HGST HUH721212AL T925>        at scbus1 target 1 lun 0 (pass2,da2)
<ATA HGST HUH721212AL T925>        at scbus1 target 2 lun 0 (pass3,da3)
<ATA HGST HUH721212AL T925>        at scbus1 target 3 lun 0 (pass4,da4)
<ATA HGST HUH721212AL T925>        at scbus1 target 4 lun 0 (pass5,da5)
<ATA HGST HUH721212AL T925>        at scbus1 target 5 lun 0 (pass6,da6)
<ATA HGST HUH721212AL T925>        at scbus1 target 6 lun 0 (pass7,da7)
<ATA HGST HUH721212AL T925>        at scbus1 target 7 lun 0 (pass8,da8)
 
Top