Re: [dm-devel] failover does not work with rdac device handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is supposed to work. I will look into it and respond.

Can you try one thing 

for all your devices, do
	echo rdac > /sys/block/sd?/dh_state

(first you can read the files and see if they all show rdac or not)

and then do your fail over. Let me know what happens.

chandra
On Fri, 2008-10-03 at 18:12 -0600, Moger, Babu wrote:
> Hi,
> 
> I have quick question.
> 
> I am trying to configure device mapper for my FC array (on my Linux box). I have passed all the arguments from /etc/multipath.conf(like vendor, model etc ..).
> 
> Discovery seems fine. But, failover is not working.  I am seeing the following error.
> 
> "device-mapper: multipath: Cannot failover device because scsi_dh_rdac was not loaded."
> 
> Is it required to add vendor id and model id anywhere else to support this device?
> 
> Thanks
> Babu Moger
> 
> 
> -----Original Message-----
> From: dm-devel-bounces@xxxxxxxxxx [mailto:dm-devel-bounces@xxxxxxxxxx] On Behalf Of Moger, Babu
> Sent: Wednesday, October 01, 2008 4:48 PM
> To: device-mapper development; linux-scsi@xxxxxxxxxxxxxxx
> Subject: [dm-devel] failover does not work with rdac device handler
> 
> Hi All,
> 
> I am new to the device mapper and just thought I will set-up device mapper on our arrays. I am using the latest kernel 2.6.27.rc6 and got the latest multipath-tools from upstream.
> 
> I updated /etc/multipath.conf with all the information (vendor, product, hardware_handler, prio etc  ...). Note that my device is not part of rdac_dev_list.
> 
> Discovery worked fine. "multipath -ll" displays all the information. I can see that it is picking up rdac device handler.
> 
> But I found that for some reason failover/failback is not working.  I am seeing following these messages.
> 
> "device-mapper: multipath: Cannot failover device because scsi_dh_rdac was not loaded."
> 
> I can see that scsi_dh_rdac driver is already loaded.
> 
> I did some more investigation. Found that failover works fine if I add vendor, model in rdac_dev_list (in file scsi_dh_rdac.c).
> 
> My question - is it required to add all the supported vendor and model names in rdac_dev_list?
> 
> Appreciate your responses.
> 
> Thanks
> Babu Moger
> 
> 
> 
> 
> 
> 
> 
> --
> dm-devel mailing list
> dm-devel@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/dm-devel
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux