From owner-freebsd-geom@FreeBSD.ORG Mon Aug 20 01:41:48 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F04DD16A41A for ; Mon, 20 Aug 2007 01:41:48 +0000 (UTC) (envelope-from hg@queue.to) Received: from pickle.queue.to (pickle.queue.to [71.180.69.18]) by mx1.freebsd.org (Postfix) with ESMTP id 990D113C45D for ; Mon, 20 Aug 2007 01:41:48 +0000 (UTC) (envelope-from hg@queue.to) Received: (qmail 69429 invoked from network); 19 Aug 2007 21:41:47 -0400 Received: from cally.queue.to (172.16.0.6) by pickle.queue.to with ESMTP; 19 Aug 2007 21:41:47 -0400 Message-ID: <46C8F15B.6020300@queue.to> Date: Sun, 19 Aug 2007 21:41:47 -0400 From: Howard Goldstein User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <46C8F08E.4090108@queue.to> In-Reply-To: <46C8F08E.4090108@queue.to> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: graid5, 3 consumers, unaligned access 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: Mon, 20 Aug 2007 01:41:49 -0000 Howard Goldstein wrote: > Due to a bug in the twe driver I've noticed quite a few accesses to the > graid5 consumer that aren't on 512 byte boundaries. These are all 3 > identical drives with identical geometries. The unaligned accesses Identical geometries as far as fdisk thought, but not geom. Could this be the problem? twed0 is the device that has an issue with unaligned access cally:/usr/src/sys/geom/raid5$ geom disk list Geom name: ad5 Providers: 1. Name: ad5 Mediasize: 163928604672 (153G) Sectorsize: 512 Mode: r1w1e3 fwsectors: 63 fwheads: 16 Geom name: ad8 Providers: 1. Name: ad8 Mediasize: 320072933376 (298G) Sectorsize: 512 Mode: r6w6e9 fwsectors: 63 fwheads: 16 Geom name: ad10 Providers: 1. Name: ad10 Mediasize: 320072933376 (298G) Sectorsize: 512 Mode: r6w6e9 fwsectors: 63 fwheads: 16 Geom name: twed0 Providers: 1. Name: twed0 Mediasize: 320072933376 (298G) Sectorsize: 512 Mode: r4w4e6 fwsectors: 63 fwheads: 255