From owner-freebsd-scsi@FreeBSD.ORG Thu Dec 17 14:30: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 0BA691065670 for ; Thu, 17 Dec 2009 14:30:58 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8B2FF8FC08 for ; Thu, 17 Dec 2009 14:30:57 +0000 (UTC) Received: by ewy26 with SMTP id 26so1291008ewy.3 for ; Thu, 17 Dec 2009 06:30:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=TO452ETE8bA+0kzNdOsHFZI367TYYDHfbBx/zXJGZCY=; b=BOKorcbdiD1EDIVhrVfhbNEs4LedwsF6sz6/wATteFPRfMKSUsCiGTjbkcvy8X5tlF 3cGUDHJJ0HTNs8lNvTtVxkHZ3bHUyhwuB78f9CnuaKlCGaX8Um3rzdzSo/ku0il1DJgo QwrNKcU5szbTPR5E32c7nM45Mxcf94jFVPeqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=ExWcdHJosTrnl1uaKgokh7xFf1+Wlh0KtJe682KWMwcy/pJLvYsrWVRaHUIKwZPwP7 jnwTu6huVTQm8yQXEIfxY2jv8Qgkv4mbuIHHFVnXR6q8YBGeUrDwPv8CrhnivXTf+B9m z6uY1+RTDVpC2eUK/vSkgCXI7JIq5Xr8uJqLI= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.216.90.212 with SMTP id e62mr962350wef.26.1261058786118; Thu, 17 Dec 2009 06:06:26 -0800 (PST) In-Reply-To: <4B2A37EF.10709@quip.cz> References: <4B2A37EF.10709@quip.cz> From: Ivan Voras Date: Thu, 17 Dec 2009 15:06:06 +0100 X-Google-Sender-Auth: e78d351ae839c7a7 Message-ID: <9bbcef730912170606j2af0d46br87a3db91ef0c4cd5@mail.gmail.com> To: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-scsi@freebsd.org, FreeBSD Stable 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: Thu, 17 Dec 2009 14:30:58 -0000 2009/12/17 Miroslav Lachman <000.fbsd@quip.cz>: > 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 (devic= e > da0) and it produces same errors, then I run iscontrol for the first path > (device da1) and everything is fine. > > =C2=A0---- path throught second controller: ERROR ---- > # diskinfo -t /dev/da0 > /dev/da0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0512 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = # sectorsize > =C2=A0 =C2=A0 =C2=A0 =C2=A02998998663168 =C2=A0 # mediasize in bytes (2.7= T) > =C2=A0 =C2=A0 =C2=A0 =C2=A05857419264 =C2=A0 =C2=A0 =C2=A0# mediasize in = sectors > =C2=A0 =C2=A0 =C2=A0 =C2=A0364607 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# Cyl= inders according to firmware. > =C2=A0 =C2=A0 =C2=A0 =C2=A0255 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = # Heads according to firmware. > =C2=A0 =C2=A0 =C2=A0 =C2=A063 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0# Sectors according to firmware. > > Seek times: > =C2=A0 =C2=A0 =C2=A0 =C2=A0Full stroke: =C2=A0 =C2=A0diskinfo: read error= or disk too small for test.: > Invalid argument > > > =C2=A0---- path throught first controller: OK ---- > # diskinfo -t /dev/da1 > /dev/da1 > =C2=A0 =C2=A0 =C2=A0 =C2=A0512 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = # sectorsize > =C2=A0 =C2=A0 =C2=A0 =C2=A02998998663168 =C2=A0 # mediasize in bytes (2.7= T) > =C2=A0 =C2=A0 =C2=A0 =C2=A05857419264 =C2=A0 =C2=A0 =C2=A0# mediasize in = sectors > =C2=A0 =C2=A0 =C2=A0 =C2=A0364607 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# Cyl= inders according to firmware. > =C2=A0 =C2=A0 =C2=A0 =C2=A0255 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = # Heads according to firmware. > =C2=A0 =C2=A0 =C2=A0 =C2=A063 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0# Sectors according to firmware. > > Seek times: > =C2=A0 =C2=A0 =C2=A0 =C2=A0Full stroke: =C2=A0 =C2=A0 =C2=A0250 iter in = =C2=A0 2.483517 sec =3D =C2=A0 =C2=A09.934 msec > =C2=A0 =C2=A0 =C2=A0 =C2=A0Half stroke: =C2=A0 =C2=A0 =C2=A0250 iter in = =C2=A0 2.575778 sec =3D =C2=A0 10.303 msec > =C2=A0 =C2=A0 =C2=A0 =C2=A0Quarter stroke: =C2=A0 500 iter in =C2=A0 2.92= 6170 sec =3D =C2=A0 =C2=A05.852 msec > =C2=A0 =C2=A0 =C2=A0 =C2=A0Short forward: =C2=A0 =C2=A0400 iter in =C2=A0= 0.916901 sec =3D =C2=A0 =C2=A02.292 msec > =C2=A0 =C2=A0 =C2=A0 =C2=A0Short backward: =C2=A0 400 iter in =C2=A0 2.18= 1790 sec =3D =C2=A0 =C2=A05.454 msec > =C2=A0 =C2=A0 =C2=A0 =C2=A0Seq outer: =C2=A0 =C2=A0 =C2=A0 2048 iter in = =C2=A0 0.520920 sec =3D =C2=A0 =C2=A00.254 msec > =C2=A0 =C2=A0 =C2=A0 =C2=A0Seq inner: =C2=A0 =C2=A0 =C2=A0 2048 iter in = =C2=A0 0.545300 sec =3D =C2=A0 =C2=A00.266 msec > Transfer rates: > =C2=A0 =C2=A0 =C2=A0 =C2=A0outside: =C2=A0 =C2=A0 =C2=A0 102400 kbytes in= =C2=A0 1.414997 sec =3D =C2=A0 =C2=A072368 kbytes/sec > =C2=A0 =C2=A0 =C2=A0 =C2=A0middle: =C2=A0 =C2=A0 =C2=A0 =C2=A0102400 kbyt= es in =C2=A0 1.454444 sec =3D =C2=A0 =C2=A070405 kbytes/sec > =C2=A0 =C2=A0 =C2=A0 =C2=A0inside: =C2=A0 =C2=A0 =C2=A0 =C2=A0102400 kbyt= es in =C2=A0 1.422527 sec =3D =C2=A0 =C2=A071985 kbytes/sec This is strange and probably indicates a bug somewhere. Can you check your SAN configuration for example, wrong access permissions assigned to the problematic port? > Do you have experiences with iSCSI multipath? I read about geom_fox and > gmultipath... You should probably skip geom_fox and just use gmultipath. It works as advertised, nothing fancy to report.