ciss0: error detecting logical drive configuration (target status)

landmin

Cadet
Joined
Oct 17, 2021
Messages
2
Hi
I am running FreeNAS12 on a HP server and the raid controller is in HBA mode. I have added two new disks to the server but It is not detected in the OS. I get this error for both disks in dmesg ciss0: error detecting logical drive configuration (target status). I have tried everything I could think of so far but had no success. Any help from you guys will be appreciated

Code:
Controller: Unknown Smart Array
  Board ID: 0x21c1103c
  Logical drives: 0
  Running firmware: 7.00
  ROM firmware: 7.00
  Physical drives: 12
         connector 1I box 1 bay 5                 ATA     ST10000NM0016-1T                                 ZA21ZA30 SND0     OK
         connector 1I box 1 bay 6                 ATA     ST10000NM0016-1T                                 ZA23NWG1 SND0     OK
         connector 1I box 1 bay 7                 HP      VO001920RWUFE                                80S0A01JTDGR     HPD3 OK
         connector 1I box 1 bay 8                 HP      EG0300FCSPH                              3570A0PDFTM91510     HPD2 OK
         connector 1I box 1 bay 1                 ATA     SAMSUNG MZ7KM480                     S3F4NX0K400693       GXM5104Q OK
         connector 1I box 1 bay 2                 ATA     Samsung SSD 850                      S3D2NX0JA11014J      EXM04B6Q OK
         connector 1I box 1 bay 3                 ATA     ST10000NM0016-1T                                 ZA21PS1X SND0     OK
         connector 1I box 1 bay 4                 ATA     ST10000NM0016-1T                                 ZA21VC8X SND0     OK
         connector 2I box 2 bay 1                 HP      EG0300FCSPH                              3580A0Y1FTM91510     HPD2 OK
         connector 2I box 2 bay 2                 HP      VO001920RWUFE                                80R0A05ZTDGR     HPD3 OK
         connector 2I box 2 bay 3                 HP      VO001920RWUFE                                80T0A03TTDGR     HPD3 OK
         connector 2I box 2 bay 4                 HP      VO001920RWUFE                                80R0A05HTDGR     HPD3 OK



Code:
ciss0: *** Hot-plug drive inserted, Port=2I Box=2 Bay=1 SN=    3580A0Y1FTM91510
ciss0: error detecting logical drive configuration (target status)
ciss0: Warning, cannot get physical lun list
ciss0: *** Hot-plug drive removed, Port=1I Box=1 Bay=8 SN=    3570A0PDFTM91510
ciss0: *** Physical drive failure, Port=1I Box=1 Bay=8 reason=0x14
ciss0: *** Hot-plug drive inserted, Port=1I Box=1 Bay=8 SN=S3Z6NB0K306364X
ciss0: error detecting logical drive configuration (target status)
ciss0: Warning, cannot get physical lun list
ciss0: *** Hot-plug drive removed, Port=1I Box=1 Bay=8 SN=S3Z6NB0K306364X
ciss0: *** Physical drive failure, Port=1I Box=1 Bay=8 reason=0x14
ciss0: *** Hot-plug drive inserted, Port=1I Box=1 Bay=8 SN=    3570A0PDFTM91510
ciss0: error detecting logical drive configuration (target status)
ciss0: Warning, cannot get physical lun list
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399

landmin

Cadet
Joined
Oct 17, 2021
Messages
2
That won't work. The controller has to be in IT mode.
Well, I have 10 other hard disks attached to It only these 2 new ones are not working. my own guess is they have been a member of raid before or something with partition table that messes with cciss driver
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
Put them on a windows box and diskpart/clean them. Then see what happens when you put them back.
However you need to put the controller in IT Mode in the medium to long term for ZFS to be able to work properly
 

DarioP

Cadet
Joined
Nov 15, 2022
Messages
3
Well, I have 10 other hard disks attached to It only these 2 new ones are not working. my own guess is they have been a member of raid before or something with partition table that messes with cciss driver
I'm having the same exact issue. Did you manage to solve it?
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222

DarioP

Cadet
Joined
Nov 15, 2022
Messages
3
I forgot to mention that the card is set to "true HBA mode"/"IT mode" (I guess each vendor has a different nomenclature).
This means that all disks are 1:1 passed to the OS, without any RAID (both smartcl and camcontrol devlist show the list of hard drives).

I know that this controller is not as supported as LSI's controllers in FreeBSD, but, unfortunately, replacing the controller is currently not an option for us (but I wish it were)
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
true HBA mode"/"IT mode" (I guess each vendor has a different nomenclature).

This is incorrect. Each vendor does not have a different nomenclature. You really need an LSI HBA in IT mode.

I know that this controller is not as supported as LSI's controllers in FreeBSD, but, unfortunately, replacing the controller is currently not an option for us (but I wish it were)

Find a way. The CISS based cards are known for being terrible for ZFS. CISS is a 2003-era misadventure in trying to create a RAID card standard, and the driver has a nearly 20 year history of being flaky and temperamental. We've had lots of people show up here with problems with their CISS based crap-cards and you should assume you will have various problems that could wind up as bad as data loss. Used LSI HBA's on eBay can often be found for less than fifty dollars.
 

DarioP

Cadet
Joined
Nov 15, 2022
Messages
3
Find a way. The CISS based cards are known for being terrible for ZFS. CISS is a 2003-era misadventure in trying to create a RAID card standard, and the driver has a nearly 20 year history of being flaky and temperamental. We've had lots of people show up here with problems with their CISS based crap-cards and you should assume you will have various problems that could wind up as bad as data loss. Used LSI HBA's on eBay can often be found for less than fifty dollars.
Thanks. I'll try to find a way (this server is scheduled to be replaced in 2023) to replace it. I didn't know that CISS cards were so bad with ZFS.
 
Top