SAS HBA detection

Hello :slight_smile:

So i’ve been trying to get my new little setup going, but am running into a strange problem. I’ve gone from Core to Scale, added a HBA card and gotten myself 8x 4tb disks

Doing sas2ircu I get this. In bios the card is reporting the size and so are the shell smart readout. I can use the shell to run health tests, so what gives? I know i’ve messed up something, but I don’t know where to start

LSI Corporation SAS2 IR Configuration Utility.
Version 20.00.00.00 (2014.09.18) 
Copyright (c) 2008-2014 LSI Corporation. All rights reserved. 

Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
  Controller type                         : SAS2008
  BIOS version                            : 7.39.02.00
  Firmware version                        : 20.00.07.00
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 0
  Maximum physical devices                : 255
  Concurrent commands supported           : 3432
  Slot                                    : 4
  Segment                                 : 0
  Bus                                     : 3
  Device                                  : 0
  Function                                : 0
  RAID Support                            : No
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
Initiator at ID #0

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 0
  SAS Address                             : 5000c50-0-6334-65c1
  State                                   : Available (AVL)
  Size (in MB)/(in sectors)               : ???/???
Available (AVL)
  Manufacturer                            : SEAGATE 
  Model Number                            : DKS2E-H4R0SS    
  Firmware Revision                       : 7FA5
  Serial No                               : Z1Z7PLVZ
  GUID                                    : 5000c500633465c3
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 1
  SAS Address                             : 5000c50-0-6336-0005
  State                                   : Available (AVL)
  Size (in MB)/(in sectors)               : ???/???
Available (AVL)
  Manufacturer                            : SEAGATE 
  Model Number                            : DKS2E-H4R0SS    
  Firmware Revision                       : 7FA5
  Serial No                               : Z1Z7Q10M
  GUID                                    : 5000c50063360007
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 2
  SAS Address                             : 5000c50-0-6332-e089
  State                                   : Available (AVL)
  Size (in MB)/(in sectors)               : ???/???
Available (AVL)
  Manufacturer                            : SEAGATE 
  Model Number                            : DKS2E-H4R0SS    
  Firmware Revision                       : 7FA5
  Serial No                               : Z1Z7NYK7
  GUID                                    : 5000c5006332e08b
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 3
  SAS Address                             : 5000c50-0-6334-6931
  State                                   : Available (AVL)
  Size (in MB)/(in sectors)               : ???/???
Available (AVL)
  Manufacturer                            : SEAGATE 
  Model Number                            : DKS2E-H4R0SS    
  Firmware Revision                       : 7FA5
  Serial No                               : Z1Z7PLP7
  GUID                                    : 5000c50063346933
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 4
  SAS Address                             : 5000c50-0-6333-7a3d
  State                                   : Available (AVL)
  Size (in MB)/(in sectors)               : ???/???
Available (AVL)
  Manufacturer                            : SEAGATE 
  Model Number                            : DKS2E-H4R0SS    
  Firmware Revision                       : 7FA5
  Serial No                               : Z1Z7PTJX
  GUID                                    : 5000c50063337a3f
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 5
  SAS Address                             : 5000c50-0-6332-e7b5
  State                                   : Available (AVL)
  Size (in MB)/(in sectors)               : ???/???
Available (AVL)
  Manufacturer                            : SEAGATE 
  Model Number                            : DKS2E-H4R0SS    
  Firmware Revision                       : 7FA5
  Serial No                               : Z1Z7NYEB
  GUID                                    : 5000c5006332e7b7
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 6
  SAS Address                             : 5000c50-0-633a-1335
  State                                   : Available (AVL)
  Size (in MB)/(in sectors)               : ???/???
Available (AVL)
  Manufacturer                            : SEAGATE 
  Model Number                            : DKS2E-H4R0SS    
  Firmware Revision                       : 7FA5
  Serial No                               : Z1Z7R84T
  GUID                                    : 5000c500633a1337
  Protocol                                : SAS
  Drive Type                              : SAS_HDD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 7
  SAS Address                             : 5000c50-0-6334-632d
  State                                   : Available (AVL)
  Size (in MB)/(in sectors)               : ???/???
Available (AVL)
  Manufacturer                            : SEAGATE 
  Model Number                            : DKS2E-H4R0SS    
  Firmware Revision                       : 7FA5
  Serial No                               : Z1Z7PLXY
  GUID                                    : 5000c5006334632f
  Protocol                                : SAS
  Drive Type                              : SAS_HDD
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
  Enclosure#                              : 1
  Logical ID                              : 56c92bf0:0004a8de
  Numslots                                : 8
  StartSlot                               : 0
------------------------------------------------------------------------
SAS2IRCU: Command DISPLAY Completed Successfully.
SAS2IRCU: Utility Completed Successfully.
root@truenas[~]# smartctl -a /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.32-production+truenas] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              DKS2E-H4R0SS
Revision:             7FA5
Compliance:           SPC-3
User Capacity:        3,977,333,347,520 bytes [3.97 TB]
Logical block size:   520 bytes
LU is fully provisioned
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c50063346933
Serial number:        Z1Z7PLP70000C5261RNX
Device type:          disk
Transport protocol:   SAS (SPL-4)
Local Time is:        Fri Nov  1 01:01:33 2024 CET
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     42 C
Drive Trip Temperature:        68 C

Accumulated power on time, hours:minutes 152:08
Manufactured in week 02 of year 2015
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  265
Specified load-unload count over device lifetime:  300000
Accumulated load-unload cycles:  282
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 145802516
  Blocks received from initiator = 211278058
  Blocks read from cache and sent to initiator = 0
  Number of read and write commands whose size <= segment size = 4109525
  Number of read and write commands whose size > segment size = 0

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 152.13
  number of minutes until next internal SMART test = 27

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:   303684071        0         0  303684071          0         75.817           0
write:         0        0         0         0          0        133.430           0
verify:   506063        0         0    506063          0          0.000           0

Non-medium error count:       25


[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -     151                 - [-   -    -]

Long (extended) Self-test duration: 14 seconds [0.2 minutes]

Adding card info

root@truenas[~]# sas2flash -listall
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18) 
Copyright (c) 2008-2014 LSI Corporation. All rights reserved 

        Adapter Selected is a LSI SAS: SAS2008(B2)   

Num   Ctlr            FW Ver        NVDATA        x86-BIOS         PCI Addr
----------------------------------------------------------------------------

0  SAS2008(B2)     20.00.07.00    14.01.00.08    07.39.02.00     00:03:00:00

        Finished Processing Commands Successfully.
        Exiting SAS2Flash.
root@truenas[~]# sas2flash -list   
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18) 
Copyright (c) 2008-2014 LSI Corporation. All rights reserved 

        Adapter Selected is a LSI SAS: SAS2008(B2)   

        Controller Number              : 0
        Controller                     : SAS2008(B2)   
        PCI Address                    : 00:03:00:00
        SAS Address                    : 56c92bf-0-0004-a8de
        NVDATA Version (Default)       : 14.01.00.08
        NVDATA Version (Persistent)    : 14.01.00.08
        Firmware Product ID            : 0x2213 (IT)
        Firmware Version               : 20.00.07.00
        NVDATA Vendor                  : LSI
        NVDATA Product ID              : SAS9211-8i
        BIOS Version                   : 07.39.02.00
        UEFI BSD Version               : N/A
        FCODE Version                  : N/A
        Board Name                     : SAS9211-8i
        Board Assembly                 : N/A
        Board Tracer Number            : N/A

        Finished Processing Commands Successfully.
        Exiting SAS2Flash.

first problem is 520 blocksize.

1 Like

Thank you, i knew it was something dumb

Running a block size formate now, will return with method and results

Are now accessible

Test code used:
sg_format -v --format --size=512 /dev/sda
Progess monitoring:
sg_requests /dev/sda

PS It’s possible to parallel format all the drives, but I’m not sure the code I used was the right one (came from a linux forum), so that’ll remain undisclosed

Tags: 0byte, 0bytes, zero size, zero storage, undetected size, undetected storage