From owner-freebsd-geom@FreeBSD.ORG Fri Dec 29 15:58:44 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1B9A16A415; Fri, 29 Dec 2006 15:58:44 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 94AD613C441; Fri, 29 Dec 2006 15:58:44 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 94B9848809; Fri, 29 Dec 2006 16:28:29 +0100 (CET) Received: from localhost (dkg70.neoplus.adsl.tpnet.pl [83.24.10.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id D08A848802; Fri, 29 Dec 2006 16:28:24 +0100 (CET) Date: Fri, 29 Dec 2006 16:27:59 +0100 From: Pawel Jakub Dawidek To: Vasil Dimov Message-ID: <20061229152759.GA2375@garage.freebsd.pl> References: <20061229145657.GA24409@qlovarnika.bg.datamax> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20061229145657.GA24409@qlovarnika.bg.datamax> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL,RCVD_IN_XBL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: graid3 device gives "Invalid argument" when requested to read >=128kb X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Dec 2006 15:58:45 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 29, 2006 at 04:56:57PM +0200, Vasil Dimov wrote: > Hi, >=20 > I managed to create a graid3 array which returns "Invalid argument" when > I attempt to read more than 128k with a single read(2) call. >=20 > Here is the test program: [...] > This is what /dev/raid3/r3test looks like > (notice the sector size is 8192, that's why my test program is using > multiples of 8192): [...] Using sectorsize larger than page size won't work with UFS anyway. Not sure if this is graid3(8) issue or some general issue. Can you try create provider with 8kB sectorsize using gnop(8) and retry your test? # gnop create -S 8192 /dev/ad0 --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFlTP/ForvXbEpPzQRArc5AJ9UbLqsTvysxAubWBW/u66VjAj7DwCfe1ZN 3/wWR93bdB7k8zyHW3jqMes= =1T5V -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--