From owner-freebsd-geom@FreeBSD.ORG Tue Jul 18 14:38:00 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD47E16A4FE for ; Tue, 18 Jul 2006 14:38:00 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30304.mail.mud.yahoo.com (web30304.mail.mud.yahoo.com [68.142.200.97]) by mx1.FreeBSD.org (Postfix) with SMTP id 07E7F43DDF for ; Tue, 18 Jul 2006 14:34:46 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 22348 invoked by uid 60001); 18 Jul 2006 14:34:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2fbSDtFR/98dNzHbllt2ENCcvDvY+xBKKNPEhXU0KivZXJ8bEAXDA2bPFPV0NddKpuaVzDRg7aDRtPTpyGkuF/WeFpDacttOFofdw2PXGSoe5GxYUrunydcYmK+xELBwHhjk4M1Uzh0/Kf8tIrX21su1jXo7uHOvVTTddRJ1SwA= ; Message-ID: <20060718143446.22346.qmail@web30304.mail.mud.yahoo.com> Received: from [213.54.80.78] by web30304.mail.mud.yahoo.com via HTTP; Tue, 18 Jul 2006 07:34:46 PDT Date: Tue, 18 Jul 2006 07:34:46 -0700 (PDT) From: "R. B. Riddick" To: Eric Anderson In-Reply-To: <44BCF065.3080704@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-geom@freebsd.org Subject: Re: geom_stripe error 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: Tue, 18 Jul 2006 14:38:00 -0000 --- Eric Anderson wrote: > > 157622337536/131072 appr. 1202563 > > 1202563 is congruent with 3 (modulo 32). > > 158778490880/131072 appr. 1211383 > > 1211383 % 32 = 23 > > So the offset is the number of records (16K based on stripe size in this > case) offset, and not bytes? I was thinking bytes, which would make it > drive number 5: > Hmm... I think the offsets in the log messages are in _bytes_. The stripe size is 128k _bytes_. So the 157622337536-th byte is in the 1202563-rd stripe from the point of view of the geom_stripe and the [1202563/32]-th stripe on the underlying disk and the disk# should be [1202563%32]. I dont see why/where ur 16k come into the computation... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com