[dm-devel] [PATCH RFC] replace dm hw handlers with scsi handlers

Mike Christie michaelc at cs.wisc.edu
Wed Oct 18 16:27:31 UTC 2006


Hannes Reinecke wrote:
> Hi Mike,
> 
> On Tue, Oct 17, 2006 at 10:37:05AM +0200, Christophe Varoqui wrote:
>> Le samedi 14 octobre 2006 à 09:09 -0400, Mike Christie a écrit :
>>> Christophe V, I was wondering what is the vendor/module info for your
>>> box? We have a MSA1000 VOLUME/COMPAQ here, but START_STOP does not
>>> work.
>>> I mean if I send the command it always executes successfully, but the
>>> device does not failover (READ/WRITEs fail). I tried just running
>>> sg_start and this runs ok but READ/WRITE still fail, so I hacked up
>>> scsi_debug to simulate my testing. 
>> It was a HSG80 based array, namely a HP EMA8000.
>> I do not have access to this hardware anymore.
>>
> 
> Hmm. Finally I got a MSA1000 here, too (Thanks, HP!). dm_hp_sw seems
> to work properly there. Note that according to the HP qla2xxx sources
> the MSA1000 might take some time to actually do the switchover.
> Appearently they return NOT_READY / UNIT_ATTENTION and some weird status
> in byte 12 & 13 of the sense buffer (!). So please check the sense code
> if there is anything untoward.

Will do. I wanted to see if the NOT_READY in scsi_error.c caught it but
I guess it is not the same asc/asq. I will look at the qlogic driver for
the values. Ditto for UNIT_ATTENTION.

> Oh, and you can check whether the failover really occured by using
> the management console; 'show this_controller' and 'show other_controller'
> will tell you which one's active.
> Drop me a mail if you got further questions. 
> 

Thanks for checking that out.




More information about the dm-devel mailing list