[OpenIndiana-discuss] LSI card and Zfs

Sašo Kiselkov skiselkov.ml at gmail.com
Tue May 14 13:43:25 UTC 2013


On 05/14/2013 02:51 PM, Ram Chander wrote:
> Hi,
> 
> 
> I have MD1200 of three trays daisy chained and  connected to Dell box. The
> Dell box has LSI-9207-8-e  card  which sees the dirves as jbod.
> But its not able to detect all drives. Few drives gives below error as
> "failed to power up".
> 
> The disks are all powered and are green.  Any help to fix this ?  Host runs
> OI-151a7
> 
> May 14 18:08:05 host1 genunix: [ID 353554 kern.warning] WARNING: Device
> /scsi_vhci/disk at g5000c50040d0d3f3 failed to power up.
> May 14 18:08:05 host1 genunix: [ID 353554 kern.warning] WARNING: Device
> /scsi_vhci/disk at g5000c50040d05c03 failed to power up.
> May 14 18:08:05 host1 genunix: [ID 353554 kern.warning] WARNING: Device
> /scsi_vhci/disk at g5000c50040d0a9d3 failed to power up.
> May 14 18:08:05 host1 genunix: [ID 353554 kern.warning] WARNING: Device
> /scsi_vhci/disk at g5000c50040c1e913 failed to power up.

This is a known issue with Dell HDD firmware. You need to disable power
management in sd, like so:

 1) first determine your drive vendor + product IDs:

echo "::walk sd_state | ::grep '.!=0' | ::print struct sd_lun un_sd | \
  ::print struct scsi_device sd_inq | ::print struct scsi_inquiry \
  inq_vid inq_pid" | mdb -k

 2) then enter the vendor ID + product ID into /kernel/drv/sd.conf like
    so:

sd-config-list = "VENDORID PRODUCTID", "power-condition:false";

For instance, in my case I'm getting in step 1)
inq_vid = [ "SEAGATE " ]
inq_pid = [ "ST2000NM0001    " ]
inq_vid = [ "SEAGATE " ]
inq_pid = [ "ST3300657SS     " ]
...

So my sd.conf looks like this:

sd-config-list = "SEAGATE ST3300657SS", "power-condition:false",
                 "SEAGATE ST2000NM0001", "power-condition:false";

After that just reboot and you should be good to go.

Cheers,
--
Saso



More information about the OpenIndiana-discuss mailing list