From owner-freebsd-scsi@FreeBSD.ORG Mon Dec 21 11:07:04 2009 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 159571065692 for ; Mon, 21 Dec 2009 11:07:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EEA608FC28 for ; Mon, 21 Dec 2009 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBLB73RF004208 for ; Mon, 21 Dec 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBLB73t3004206 for freebsd-scsi@FreeBSD.org; Mon, 21 Dec 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Dec 2009 11:07:03 GMT Message-Id: <200912211107.nBLB73t3004206@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 11:07:04 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/140091 scsi [da] [patch] allow for da(4) large block transfer than o kern/138789 scsi [cam] [patch] cd(4) patch for drives/discs failing the o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o amd64/132394 scsi [isp] - bad underruns with QLogic qla2300 and amd64 o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri p kern/130735 scsi [cam] [patch] pass M_NOWAIT to the malloc() call insid o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi o kern/123674 scsi [ahc] ahc driver dumping f kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o kern/60598 scsi wire down of scsi devices conflicts with config s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/40895 scsi wierd kernel / device driver bug o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 37 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Dec 21 11:20:55 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5C7F1065676 for ; Mon, 21 Dec 2009 11:20:55 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 80B358FC1D for ; Mon, 21 Dec 2009 11:20:55 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1NMgJp-000587-VZ; Mon, 21 Dec 2009 13:20:53 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Miroslav Lachman <000.fbsd@quip.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 2009 13:20:53 +0200 From: Daniel Braniss Message-ID: Cc: freebsd-scsi@freebsd.org Subject: Re: iSCSI initiator and Dell PowerVault MD3000i X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 11:20:55 -0000 > Daniel Braniss wrote: > > > >> So instead of iSCSI connected storage with multipath failover, I got > >> singlepath storage causing system freeze in case of network disconnection :( > > > > well, if you unplug the net, or reboot the target, it will recover. > > it's when you down/up the network when problems occur, and I'm > > looking into it. I took a machine, with 2 nics, connected to 2 vlans, A is the default, B is on the same vlan as my target iscsi server. if I unplug or do an 'ifconfig netB down', the iscsi_initiator will recover - after about 1 minute - reconnecting to the target via netA > Just the note to my tests with multipathing. I asked about MD3000i one > friend who is aware of DELL arrays and he told me that it is > 'active/passive' / 'dual active' type of array and Virtual Disks (LUNs) > are always accessible only by one controller. In case of failure of > currently active controller path, the driver must send some command to > the other controller to take ownership of the LUN to this controller. > > I searched the net for some more information and it seems that it is > handled by RDAC on Linux > (http://fxr.watson.org/fxr/source/drivers/md/dm-mpath-rdac.c?v=linux-2.6) but > we don't have it in FreeBSD? > http://lists.freebsd.org/pipermail/freebsd-scsi/2009-December/004045.html > > Do you have some knowledge about this? Is it something that can be done > in iSCSI or is it something for another part / layer in the FreeBSD? > Let me see if I can untangle all these acronyms :-) iSCSI is scsi over ip, it's 'usually' presented some 'scsi device', tape, disk, via some target. It's the target that controls the real hardware, so a hardware error at the raid controller level cannot be handled by the initiator (so no RDAC), specially when the target provides a virtual disk (which is about 100% true for all the targets I have encountered so far). A RAID controller is not a SCSI device, and so it can't be controlled by the iSCSI initiator. Multipath, in iSCSI it means more than one network path to the same target/lun, the current iscsi_initiator does not handle this, but since istg handles this, I'm looking into it. it would be helpful if you can describe what you are trying to accomplish. danny From owner-freebsd-scsi@FreeBSD.ORG Mon Dec 21 18:08:58 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68D9B106568B for ; Mon, 21 Dec 2009 18:08:58 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 23AAC8FC17 for ; Mon, 21 Dec 2009 18:08:57 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 0307F19E045; Mon, 21 Dec 2009 19:08:56 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7024719E044; Mon, 21 Dec 2009 19:08:53 +0100 (CET) Message-ID: <4B2FB9B4.7030401@quip.cz> Date: Mon, 21 Dec 2009 19:08:52 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.6) Gecko/20091206 SeaMonkey/2.0.1 MIME-Version: 1.0 To: Daniel Braniss References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: iSCSI initiator and Dell PowerVault MD3000i X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 18:08:58 -0000 Daniel Braniss wrote: [...] > it would be helpful if you can describe what you are trying to accomplish. To make it short: I am trying to connect FreeBSD 7.2 machine to storage array Dell PV MD3000i. MD3000i has 2 controllers to accomplish multipath fail-over in case of failure of anything in the path (controller, ethernet cable, switch etc.). FreeBSD machine is connected by 2 NICs (bce1 and bce3), one crosslink cable to controller 0, one crosslink cable to controller 1. As I read on the net, it seems possible to run it in this setup with Windows, Linux, VMware or XenServer. It seems not possible to use it this way on FreeBSD (with gmultipath) Example of commands and outputs I tried is available at http://pastebin.com/f2d9566c4 Links to MD3000i documentation of redundancy: Hardware Redundancy and Failover http://support.dell.com/support/edocs/systems/md3000i/en/2ndGen/HOM/HTML/using.htm#wp1091611 RAID Controller Failover Modes http://support.dell.com/support/edocs/systems/md3000i/en/2ndGen/HOM/HTML/using.htm#wp1093253 You can imagine my setup as the one on this page http://linux.dell.com/wiki/index.php/Products/HA/DellRedHatHALinuxCluster/Storage/PowerVault_MD3000i/Hardware Except I have just one node and no switches (directly connected) I think there is in-band management commands (management over iSCSI interface of the MD3000i) used to move virtual disks between controllers driven by connected host / driver in OS. I am not too experienced with iSCSI / SCSI, so please correct me if I am doing something wrong or I have wrong expectations. Miroslav Lachman From owner-freebsd-scsi@FreeBSD.ORG Tue Dec 22 08:36:38 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B016A1065695 for ; Tue, 22 Dec 2009 08:36:38 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 678A58FC12 for ; Tue, 22 Dec 2009 08:36:38 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1NN0EO-000Jyv-Mq; Tue, 22 Dec 2009 10:36:36 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Miroslav Lachman <000.fbsd@quip.cz> In-reply-to: <4B2FB9B4.7030401@quip.cz> References: <4B2FB9B4.7030401@quip.cz> Comments: In-reply-to Miroslav Lachman <000.fbsd@quip.cz> message dated "Mon, 21 Dec 2009 19:08:52 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 Dec 2009 10:36:36 +0200 From: Daniel Braniss Message-ID: Cc: freebsd-scsi@freebsd.org Subject: Re: iSCSI initiator and Dell PowerVault MD3000i X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 08:36:38 -0000 > Daniel Braniss wrote: > > [...] > > > it would be helpful if you can describe what you are trying to accomplish. > > To make it short: > I am trying to connect FreeBSD 7.2 machine to storage array Dell PV MD3000i. > MD3000i has 2 controllers to accomplish multipath fail-over in case of > failure of anything in the path (controller, ethernet cable, switch etc.). > FreeBSD machine is connected by 2 NICs (bce1 and bce3), one crosslink > cable to controller 0, one crosslink cable to controller 1. > As I read on the net, it seems possible to run it in this setup with > Windows, Linux, VMware or XenServer. > > It seems not possible to use it this way on FreeBSD (with gmultipath) > > Example of commands and outputs I tried is available at > http://pastebin.com/f2d9566c4 > > Links to MD3000i documentation of redundancy: > Hardware Redundancy and Failover > http://support.dell.com/support/edocs/systems/md3000i/en/2ndGen/HOM/HTML/using.htm#wp1091611 > > RAID Controller Failover Modes > http://support.dell.com/support/edocs/systems/md3000i/en/2ndGen/HOM/HTML/using.htm#wp1093253 > > You can imagine my setup as the one on this page > http://linux.dell.com/wiki/index.php/Products/HA/DellRedHatHALinuxCluster/Storage/PowerVault_MD3000i/Hardware > Except I have just one node and no switches (directly connected) > > I think there is in-band management commands (management over iSCSI > interface of the MD3000i) used to move virtual disks between controllers > driven by connected host / driver in OS. I tend to believe that this is out-of-band, ie, http. when you connect to the target, you get only virtual disks, ie, da0, da3, etc. this are scsi disks. if there was some scsi-raid, then it should appear as some other device, like tape robots, they have st0 for the tape, and ch0 for the 'robot'. > > I am not too experienced with iSCSI / SCSI, so please correct me if I am > doing something wrong or I have wrong expectations. > > Miroslav Lachman if you are not planning to use the network, ie, you mentioned cross cable, and no switches, then you can get the MD3000 (notice no i :-), and you can then connect it using SAS cable(/s) to a raid controller. We do that here, have a dell PowerEdge 2950, running 7.2 (and soon 8.0) conected to a MD3000. btw, SAS is several times faster than iSCSI. We run ZFS on it and provide NAS services via NFS to several hosts. If you go the network/iSCSI route, you can share virtual disks aming hosts - as long as they are readlony, or move them around r/w between hosts. anyways, all this multipath stuff is tickling my curiosity, stay tuned :-) danny From owner-freebsd-scsi@FreeBSD.ORG Tue Dec 22 11:54:08 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55569106566C for ; Tue, 22 Dec 2009 11:54:08 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id D67CB8FC1A for ; Tue, 22 Dec 2009 11:54:07 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 603D419E045; Tue, 22 Dec 2009 12:54:06 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 5188C19E044; Tue, 22 Dec 2009 12:54:03 +0100 (CET) Message-ID: <4B30B35A.3000206@quip.cz> Date: Tue, 22 Dec 2009 12:54:02 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.6) Gecko/20091206 SeaMonkey/2.0.1 MIME-Version: 1.0 To: Daniel Braniss References: <4B2FB9B4.7030401@quip.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: iSCSI initiator and Dell PowerVault MD3000i X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 11:54:08 -0000 Daniel Braniss wrote: >> Daniel Braniss wrote: >> >> [...] [...] >> I think there is in-band management commands (management over iSCSI >> interface of the MD3000i) used to move virtual disks between controllers >> driven by connected host / driver in OS. > I tend to believe that this is out-of-band, ie, http. when you connect to the > target, you get only virtual disks, ie, da0, da3, etc. this are scsi disks. > if there was some scsi-raid, then it should appear as some other device, > like tape robots, they have st0 for the tape, and ch0 for the 'robot'. >> >> I am not too experienced with iSCSI / SCSI, so please correct me if I am >> doing something wrong or I have wrong expectations. >> >> Miroslav Lachman > > if you are not planning to use the network, ie, you mentioned cross cable, > and no switches, then you can get the MD3000 (notice no i :-), > and you can then connect it using SAS cable(/s) to a raid controller. > We do that here, have a dell PowerEdge 2950, running 7.2 (and soon 8.0) > conected to a MD3000. btw, SAS is several times faster than iSCSI. We run > ZFS on it and provide NAS services via NFS to several hosts. This is just a testing setup, there are plans to use it as SAN with other systems (mainly ESX virtualized Windows for other projects, but ESX and Windows is not part of my work ;]) My current setup: Direct-Attached Servers, Dual-Path Data, Dual Controllers (Duplex) http://support.dell.com/support/edocs/systems/md3000i/en/2ndGen/IG/HTML/hardware.htm#wp1008180 Future planned setup: SAN-Configured Servers, Dual-Path Data, Dual Controllers (Duplex) http://support.dell.com/support/edocs/systems/md3000i/en/2ndGen/IG/HTML/hardware.htm#wp1011011 > If you go the network/iSCSI route, you can share virtual disks > aming hosts - as long as they are readlony, or move them around r/w between > hosts. > > anyways, all this multipath stuff is tickling my curiosity, stay tuned :-) I found that there is something called "Controller-based Auto Virtual Disk Transfer (AVT)" but I can't find this feature in MD Storage Manager and I can't find any useful detailed info for this feature. I only tried to disable one controller and then all LUNs were migrated to active controller. But it does not happen when network to controller is down. So still there must be something on the host to send some command to MD3000i to move LUNs to other controller in case of network failure. If you (or somebody else) are interested in "how it works with other OS", there are some links: Debian, Dell MD3000i, dm_multipath and path checking http://blog.loftninjas.org/2008/06/13/debian-dell-md3000i-dm_multipath-and-path-checking/ The MD3000i uses RDAC to impliment failover http://www.performancemagic.com/Dell1950_MD3000i_Xen_Debian_iSCSI_RDAC/Multipathing.html MPIO to PowerVault MD3000i with Microsoft iSCSI Initiator http://www.delltechcenter.com/page/MPIO+to+PowerVault+MD3000i+with+Microsoft+iSCSI+Initiator Miroslav Lachman PS: let me know if you want something more about MD3000i, screenshots from management SW, manuals, linux driver sources etc. From owner-freebsd-scsi@FreeBSD.ORG Thu Dec 24 13:04:56 2009 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1DFD106568B; Thu, 24 Dec 2009 13:04:56 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C9D238FC19; Thu, 24 Dec 2009 13:04:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBOD4uMG089309; Thu, 24 Dec 2009 13:04:56 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBOD4uNw089305; Thu, 24 Dec 2009 13:04:56 GMT (envelope-from linimon) Date: Thu, 24 Dec 2009 13:04:56 GMT Message-Id: <200912241304.nBOD4uNw089305@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/141934: [cam] [patch] add support for SEAGATE DAT Scopion 130 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 13:04:57 -0000 Old Synopsis: [PATCH] add support for SEAGATE DAT Scopion 130 New Synopsis: [cam] [patch] add support for SEAGATE DAT Scopion 130 Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Thu Dec 24 13:04:23 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=141934