From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 14 15:19:55 2013 Return-Path: Delivered-To: FreeBSD-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C10FD973 for ; Wed, 14 Aug 2013 15:19:55 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm46-vm9.bullet.mail.gq1.yahoo.com (nm46-vm9.bullet.mail.gq1.yahoo.com [67.195.87.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8227321AE for ; Wed, 14 Aug 2013 15:19:55 +0000 (UTC) Received: from [98.137.12.191] by nm46.bullet.mail.gq1.yahoo.com with NNFMP; 14 Aug 2013 15:17:47 -0000 Received: from [208.71.42.206] by tm12.bullet.mail.gq1.yahoo.com with NNFMP; 14 Aug 2013 15:17:47 -0000 Received: from [127.0.0.1] by smtp217.mail.gq1.yahoo.com with NNFMP; 14 Aug 2013 15:17:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1376493467; bh=8E7yJwWn5gAs2rn37Vghm0JCULizkvTk5Efh4UI0Hu8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=ci/FQ6DgysgLLAp7mjL9Ej+ZXa93UKIqzWWVnG68l2aLdUJo0bXzIlWUm/RrJ7Q9XbtjIOo5Mcqg6o85xv+G1YwKKIHtROmshmF1K99sFcUEiozVyv2kqgPe3SR4vjXkNClWz1ezYrSlaTeL5f+VqAioObZm7RC9olb41xQXBp8= X-Yahoo-Newman-Id: 616298.34403.bm@smtp217.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: OW0hOF0VM1k9Aw_RmQIT5NdeC_Yyn51H5VyK5MkeW.sjwuN aaNxkwqcN2.OWbhQk7ZFFwabRz3uaIg4VO20cqzrrt01Q4b1jDHw5ghAv2f6 fp1Cp3eqmoopqssr5W_is2C_Filvd6cmH4LhTxnf58xhGTCVwMwREaQOp1E9 zoMw1Eo4C79nIOaaCGjacxBL7AKzFt1pZv7pd48HsWG7g2Yw7w9k_A1ucpqW 8lqcZsdRfXBq_KatR7DRLHhQBtya2LFAbgRY0HIyV0H2kosSMZcJeOx9dAc7 BzaMPO.fNq2xPq8.kfV19eYwSCU1TFjV_khyGC7ET.2nlHPj_Z3wG1.0jvEO WRNeQzD2K8PtgWyagx_RfAlXWpUwbvdONJBzIqhWfsq.IhuxF0doRTVnv7tO 4S8wDIPwa8AZN3hxuRlKUsSUSaIvYUL2s3FpW6a9M_A.f_0YoQHfGLwpHZOM DpLkBJ_GlQVzeHsa_hsPmOF4rdkSfMLvrqFojzWyyMV.EC3yO0Umo2wwSMf6 yWfSQUUo19fqEpVzFKp3n3KH_Oyvr_jvXSxs3qPzkqUE7fnU9fEW77TOa4nS 8wR82YH4- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.43.121] (sean_bruno@70.197.0.149 with ) by smtp217.mail.gq1.yahoo.com with SMTP; 14 Aug 2013 15:17:47 +0000 UTC Subject: Re: Dell H310, JBOD mode "hard error" From: Sean Bruno To: Doug Ambrisko In-Reply-To: <20130814150331.GB34825@ambrisko.com> References: <1373822621.1431.5.camel@localhost> <1376448416.1439.7.camel@localhost> <20130814150331.GB34825@ambrisko.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-0SZy4tGwEQjKTRv7VbEY" Date: Wed, 14 Aug 2013 08:17:44 -0700 Message-ID: <1376493464.1377.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: "FreeBSD-scsi@freebsd.org" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 15:19:55 -0000 --=-0SZy4tGwEQjKTRv7VbEY Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > That change for d_maxsize looks okay but do you really want to get > rid of d_open? I assume this is a cut-n-paste type error and the patch > (hand editted) should be: >=20 > Index: mfi_syspd.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- mfi_syspd.c (revision 254313) > +++ mfi_syspd.c (working copy) > @@ -128,7 +128,8 @@ > sc->pd_disk->d_drv1 =3D sc; > - sc->pd_disk->d_maxsize =3D sc->pd_controller->mfi_max_io * secsize; > + sc->pd_disk->d_maxsize =3D min(sc->pd_controller->mfi_max_io * secsize, > + (sc->pd_controller->mfi_max_sge - 1) * PAGE_SIZE); > sc->pd_disk->d_name =3D "mfisyspd"; > sc->pd_disk->d_open =3D mfi_syspd_open; > sc->pd_disk->d_close =3D mfi_syspd_close; > sc->pd_disk->d_strategy =3D mfi_syspd_strategy; > sc->pd_disk->d_dump =3D mfi_syspd_dump; >=20 Bah, that's why I always send patches for review. Yes, the d_open deletion was a typo. Thanks for the update. > BTW, has mfiutil been updated to create real JBODs versus the RAID per > drive? I know someone was talking about doing that. A note on implement= ing > it, it also requires JBOD to be enabled in the controller. I'm not sure > if all controllers support it. I forget when I was playing with it. I'v= e > always wondering if we should change the name for the syspd disk node > but I left it for compatibility with LSI. We could do an alias. It is > good in away that it doesn't create /dev/mfid* nodes so that it is easier > to track bugs. mfiutil doesn't seem to know how to deal with SYSPD (real JBOD) at this time. It only allows you to see the physical drives, nothing shows up on the "show volumes" command. =46rom what I see the Dell H310 doing, there's not much there in the system to do with the real JBOD devices. I mean, there's no creation/deletion or other RAID things to do here. Sean --=-0SZy4tGwEQjKTRv7VbEY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (FreeBSD) iQEcBAABAgAGBQJSC5+QAAoJEBkJRdwI6BaHiPAH/0OpKcwAw/OBkg3OVSh4ZGWN p+GKqDrhCevhzgDCaVneMXz51rf1yDom2T72qP8X83LZrMjzJMjnrMu6eeKhN4zx Dr7CPSrvNHf+amHPAlv5gBZpMjczbnVaoODFvsj1mJRxEqW/sWIxtqZsA51bYtgF ceC5So4I/U/ZUAqmx26KBpNTSN0vUuOAqra6yD+15tHy24qMaqQSXY8fzRNboRV4 sRP0z92v9YlIfBlYU14etgWuK0W5RWbC+Cp+tpw8fdBetc591CIFIoB+Mv/SKzid TMSeaDCEBHdf0qoyVRk1QW8A5iuvWnh2KqkQU8u1/l0E0sw9Kb8GVFCilxBmtG8= =v1x/ -----END PGP SIGNATURE----- --=-0SZy4tGwEQjKTRv7VbEY--