Re: MFC request: QLogic 24xx FibreChannel controller
On Fri, 9 Mar 2007, Joao Barros wrote: There are two FC switches, but AFAIK a multipath setup would have, for example one disk coming from isp0 and the other from isp1, as isp0 and isp1 are connected to two switches... It's entirely possible that something's ill defined in the FC management console (I din't do it - it's another guy's responsibility :) ) You're right, I missed that detail :) You can always ask the "responsible" guy what he did, but right now I'd say you have a freebie ;) Use the attached to see if the attached disks are in fact paths to the same device based upon serial ##!/bin/sh # # This script gets a list of da devices and Vital Product Data Serial numbers. # # It checks for same devices by matching serial number *and* logical unit # camcontrol devl|sed -e 's/^.*lun.//' -e 's/(//' -e 's/)//' -e 's/,/ /'|grep da|\ sed -e 's/pass.* //' -e 's/pass.*$//' | while read lun disk do serno=`camcontrol inquiry ${disk} -S` if [ X"${serno}" != X ] then echo "${disk} ${lun} ${serno}" >>/tmp/t$$ echo ${lun}"."${serno} >> /tmp/y$$ fi done cat /tmp/y$$ | while read serno_lun_pair do grep $serno_lun_pair /tmp/t$$ > /tmp/a$$ nmatch=`cat /tmp/a$$ |wc -l|sed 's/ //g'` if [ $nmatch -lt 2 ] then continue fi echo "Potential Same Devices:" cat /tmp/a$$ | awk ' { printf "\t%s (lun %s)\t%s\n", $1, $2, $3 }' cat /tmp/t$$ | grep -v $serno_lun_pair > /tmp/d$$ mv /tmp/d$$ /tmp/t$$ done rm -f /tmp/t$$ /tmp/y$$ /tmp/a$$ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MFC request: QLogic 24xx FibreChannel controller
The GEOM multipath code hasn't been MFC'd yet. On Fri, 9 Mar 2007, Ivan Voras wrote: Joao Barros wrote: On 3/9/07, Ivan Voras <[EMAIL PROTECTED]> wrote: I'm not familiar with this hardware, but I'm curious why I see the one test drive I assigned to it twice. I seem to recall reading somewhere a discussion for Linux in which it's been mentioned that one of these should be a read-write and another "read-only" device, but is this correct? I can write to both drives. I'd say because you have a multipath setup, the driver being the exception. I guess the in house isp guru Matt Jacob can give you a better explanation ;) I don't think it's because of multipath (as far as I understand it) because both disks are atached to isp0: da1 at isp0 bus 0 target 0 lun 0 da2 at isp0 bus 0 target 1 lun 0 There are two FC switches, but AFAIK a multipath setup would have, for example one disk coming from isp0 and the other from isp1, as isp0 and isp1 are connected to two switches... It's entirely possible that something's ill defined in the FC management console (I din't do it - it's another guy's responsibility :) ) ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MFC request: QLogic 24xx FibreChannel controller
On 3/9/07, Ivan Voras <[EMAIL PROTECTED]> wrote: Joao Barros wrote: > On 3/9/07, Ivan Voras <[EMAIL PROTECTED]> wrote: >> I'm not familiar with this hardware, but I'm curious why I see the one >> test drive I assigned to it twice. I seem to recall reading somewhere a >> discussion for Linux in which it's been mentioned that one of these >> should be a read-write and another "read-only" device, but is this >> correct? I can write to both drives. > > I'd say because you have a multipath setup, the driver being the exception. > I guess the in house isp guru Matt Jacob can give you a better > explanation ;) I don't think it's because of multipath (as far as I understand it) because both disks are atached to isp0: da1 at isp0 bus 0 target 0 lun 0 da2 at isp0 bus 0 target 1 lun 0 There are two FC switches, but AFAIK a multipath setup would have, for example one disk coming from isp0 and the other from isp1, as isp0 and isp1 are connected to two switches... It's entirely possible that something's ill defined in the FC management console (I din't do it - it's another guy's responsibility :) ) You're right, I missed that detail :) You can always ask the "responsible" guy what he did, but right now I'd say you have a freebie ;) -- Joao Barros ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MFC request: QLogic 24xx FibreChannel controller
On 3/9/07, Ivan Voras <[EMAIL PROTECTED]> wrote: I'm not familiar with this hardware, but I'm curious why I see the one test drive I assigned to it twice. I seem to recall reading somewhere a discussion for Linux in which it's been mentioned that one of these should be a read-write and another "read-only" device, but is this correct? I can write to both drives. I'd say because you have a multipath setup, the driver being the exception. I guess the in house isp guru Matt Jacob can give you a better explanation ;) -- Joao Barros ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MFC request: QLogic 24xx FibreChannel controller
Joao Barros wrote: > On 3/9/07, Ivan Voras <[EMAIL PROTECTED]> wrote: >> I'm not familiar with this hardware, but I'm curious why I see the one >> test drive I assigned to it twice. I seem to recall reading somewhere a >> discussion for Linux in which it's been mentioned that one of these >> should be a read-write and another "read-only" device, but is this >> correct? I can write to both drives. > > I'd say because you have a multipath setup, the driver being the exception. > I guess the in house isp guru Matt Jacob can give you a better > explanation ;) I don't think it's because of multipath (as far as I understand it) because both disks are atached to isp0: da1 at isp0 bus 0 target 0 lun 0 da2 at isp0 bus 0 target 1 lun 0 There are two FC switches, but AFAIK a multipath setup would have, for example one disk coming from isp0 and the other from isp1, as isp0 and isp1 are connected to two switches... It's entirely possible that something's ill defined in the FC management console (I din't do it - it's another guy's responsibility :) ) signature.asc Description: OpenPGP digital signature
Re: MFC request: QLogic 24xx FibreChannel controller
Ivan Voras ha scritto: I'm interested in having support for QLogic 24xx cards in 6-stable It was backported 34 hours ago ;-) My card identifies itself as 2462s, in an IBM blade. Nobody tested the new code with a 246x card, but probably is the same as 242x (tested). -- Alex Dupre ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MFC request: QLogic 24xx FibreChannel controller
Alex Dupre wrote: > Ivan Voras ha scritto: >> I'm interested in having support for QLogic 24xx cards in 6-stable > > It was backported 34 hours ago ;-) That was fast :) I've cvsupped before trying to get the blade to work (needed SerDes support for bce cards) but wow, it has been almost three days now :( time flies... I'll try it now and report how it's doing. signature.asc Description: OpenPGP digital signature