Date: Tue, 18 Jul 2006 07:34:46 -0700 (PDT) From: "R. B. Riddick" <arne_woerner@yahoo.com> To: Eric Anderson <anderson@centtech.com> Cc: freebsd-geom@freebsd.org Subject: Re: geom_stripe error Message-ID: <20060718143446.22346.qmail@web30304.mail.mud.yahoo.com> In-Reply-To: <44BCF065.3080704@centtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Eric Anderson <anderson@centtech.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060718143446.22346.qmail>