On Fri, Jan 21, 2011 at 3:58 PM, Ross Walker <span dir="ltr"><<a href="mailto:rswwalker@gmail.com">rswwalker@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div><div></div><div class="h5"><div><span>On Jan 21, 2011, at 6:41 PM, Edward Morbius <<a href="mailto:dredmorbius@gmail.com" target="_blank">dredmorbius@gmail.com</a>> wrote:</span><br></div>
<div><br></div><div></div><blockquote type="cite"><div>We've been wrestling with this for ... rather longer than I'd care to admit.<br><br>Host / initiator systems are a number of real and virtualized CentOS 5.5 boxes.  Storage arrays / targets are Dell MD3220i storage arrays.<br>

<br>...<br></div></blockquote><br></div></div><div>You need the RDAC kernel module installed, this handles asymmetric multipathing to these devices.</div><div><br></div><div>You can get this from Dell's site.</div><div>
<br></div><div>Once this is installed you need to setup dm-multipath, look for multipathd.conf in /etc, get the product id and vendor id from dmesg after making an initial connection via open-iscsi and use that in the mutipath config. Your going to need to use path utility 'rdac' in the config instead of tur.</div>
<div><br></div><div>Google is your friend here.</div></div></blockquote><div><br>We've got *an* rdac module installed.  Any way of telling whether or not this is Dell's?  RPM says these are from kernel-2.6.18-194.17.1.el5.src.rpm.<br>

<br>
$ lsmod | grep rdac<br>
scsi_dh_rdac           43977  0 <br>
scsi_dh                42177  2 scsi_dh_rdac,dm_multipath<br>
scsi_mod              196953  14
scsi_dh_rdac,be2iscsi,ib_iser,iscsi_tcp,bnx2i,cxgb3i,libiscsi2,scsi_transport_iscsi2,scsi_dh,sr_mod,sg,libata,megaraid_sas,sd_mod<br>
<br>$ rpm -qif $(locate rdac.ko)<br>Name        : kernel                       Relocations: (not relocatable)<br>Version     : 2.6.18                            Vendor: CentOS<br>Release     : 194.17.1.el5                  Build Date: Wed 29 Sep 2010 11:57:11 AM PDT<br>
Install Date: Thu 14 Oct 2010 02:17:14 PM PDT      Build Host: <a href="http://builder10.centos.org">builder10.centos.org</a><br>Group       : System Environment/Kernel     Source RPM: kernel-2.6.18-194.17.1.el5.src.rpm<br>
Size        : 96488290                         License: GPLv2<br>Signature   : DSA/SHA1, Thu 30 Sep 2010 08:35:49 AM PDT, Key ID a8a447dce8562897<br>URL         : <a href="http://www.kernel.org/">http://www.kernel.org/</a><br>
Summary     : The Linux kernel (the core of the Linux operating system)<br>Description :<br>The kernel package contains the Linux kernel (vmlinuz), the core of any<br>Linux operating system.  The kernel handles the basic functions<br>
of the operating system:  memory allocation, process allocation, device<br>input and output, etc.<br>Name        : kernel                       Relocations: (not relocatable)<br>Version     : 2.6.18                            Vendor: CentOS<br>
Release     : 194.17.1.el5                  Build Date: Wed 29 Sep 2010 11:57:11 AM PDT<br>Install Date: Thu 14 Oct 2010 02:17:14 PM PDT      Build Host: <a href="http://builder10.centos.org">builder10.centos.org</a><br>Group       : System Environment/Kernel     Source RPM: kernel-2.6.18-194.17.1.el5.src.rpm<br>
Size        : 96488290                         License: GPLv2<br>Signature   : DSA/SHA1, Thu 30 Sep 2010 08:35:49 AM PDT, Key ID a8a447dce8562897<br>URL         : <a href="http://www.kernel.org/">http://www.kernel.org/</a><br>
Summary     : The Linux kernel (the core of the Linux operating system)<br>Description :<br>The kernel package contains the Linux kernel (vmlinuz), the core of any<br>Linux operating system.  The kernel handles the basic functions<br>
of the operating system:  memory allocation, process allocation, device<br>input and output, etc.<br><br>
<br>
There's also a rebuild of 'sg', with a source tree in /usr/src/sg-3.5.34dell<br>
<br>
Diffing sources:<br>
<br>
$ diff sg.c sg.c_rhel5 <br>
22c22<br>
< #define SG_VERSION_STR "3.5.34dell"<br>
---<br>
> #define SG_VERSION_STR "3.5.34"<br>
1879c1879<br>
<         sg->length = (ret_sz > num) ? num : ret_sz;<br>
---<br>
>         sg->length = ret_sz;<br>
<br>
I'll also note that Dell isn't playing nice with its package installs -- some stuff is under /opt/dell, some is installed via RPM, some appears to be tossed arbitrarily onto the system:<br><br>$ rpm -qif /lib/modules/2.6.18-194.17.1.el5/extra/sg.ko<br>
file /lib/modules/2.6.18-194.17.1.el5/extra/sg.ko is not owned by any package<br><br>Bad Dell.  No donut.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div><br></div><font color="#888888"><div>-Ross</div><div><br></div></font></div><br>_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Dr. Ed Morbius<br>Chief Scientist<br>Krell Power Systems Unlimited<br><br>