From owner-freebsd-scsi@FreeBSD.ORG Thu Dec 17 13:53:56 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 008EE1065676; Thu, 17 Dec 2009 13:53:56 +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 AE7028FC23; Thu, 17 Dec 2009 13:53:55 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id BA78B19E044; Thu, 17 Dec 2009 14:53:54 +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 6AE3519E045; Thu, 17 Dec 2009 14:53:52 +0100 (CET) Message-ID: <4B2A37EF.10709@quip.cz> Date: Thu, 17 Dec 2009 14:53:51 +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: Ivan Voras References: 4B293627.7050000@dotcom.ts.it Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, FreeBSD Stable Subject: 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: Thu, 17 Dec 2009 13:53:56 -0000 please Cc: me, I am not subscribed to freebsd-scsi Sossi Andrej wrote: >> On 16. 12. 2009 15:57, Miroslav Lachman wrote: >> [...] >> I use MD300i with FreeBSD 7.0 and 7.1 with iscsi-2.2.2. It work fine. >> But be careful to configure MD3000i. MD3000i assign by default first >> disk to preferred controller 0, second disk to preferred controller 1, >> third disk to preferred controller 0, and so on. First, third, fifth... >> disks is usable from FreeBSD, but second, fourth,... disks result unusable. >> Work around: manually assign all disks to controller 0. > > When you say "unusable" do you mean you can't access it at all / it > errors even if it's the only path (drive) used? It would be normal if > you have for example two paths to each drive and can't mount the other > path if one path to the drive is mounted - this is not a usable > combination. You can use geom_multipath to get multipath failover. I got errors even in unmounted state. I tried iscsi-2.2.3 and got same errors. I tried second path first (device da0) and it produces same errors, then I run iscontrol for the first path (device da1) and everything is fine. ---- path throught second controller: ERROR ---- # diskinfo -t /dev/da0 /dev/da0 512 # sectorsize 2998998663168 # mediasize in bytes (2.7T) 5857419264 # mediasize in sectors 364607 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: diskinfo: read error or disk too small for test.: Invalid argument ---- path throught first controller: OK ---- # diskinfo -t /dev/da1 /dev/da1 512 # sectorsize 2998998663168 # mediasize in bytes (2.7T) 5857419264 # mediasize in sectors 364607 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 2.483517 sec = 9.934 msec Half stroke: 250 iter in 2.575778 sec = 10.303 msec Quarter stroke: 500 iter in 2.926170 sec = 5.852 msec Short forward: 400 iter in 0.916901 sec = 2.292 msec Short backward: 400 iter in 2.181790 sec = 5.454 msec Seq outer: 2048 iter in 0.520920 sec = 0.254 msec Seq inner: 2048 iter in 0.545300 sec = 0.266 msec Transfer rates: outside: 102400 kbytes in 1.414997 sec = 72368 kbytes/sec middle: 102400 kbytes in 1.454444 sec = 70405 kbytes/sec inside: 102400 kbytes in 1.422527 sec = 71985 kbytes/sec Do you have experiences with iSCSI multipath? I read about geom_fox and gmultipath... Miroslav Lachman