[Top] [All Lists]

Re: Question regarding XFS on LVM over hardware RAID.

To: xfs <xfs@xxxxxxxxxxx>
Subject: Re: Question regarding XFS on LVM over hardware RAID.
From: "C. Morgan Hamill" <chamill@xxxxxxxxxxxx>
Date: Tue, 18 Feb 2014 14:44:10 -0500
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wesleyan.edu; s=feb2013.wesmsa; t=1392752652; bh=ORnCYVfGqRDuUXICsIiUgoj7vJxJqRMHQINyEkEn17g=; h=From:To:In-reply-to:Subject:References:Date; b=L3fHTyFzc286lOf9LFI/U5fsCB5kxRnAGBmXs96JR1AKONZAktJwccKxFXNOb93bf qg+SxPBbm9YAY88SAr4bk7/JwwuKAWePF3Pc+QbAcM8NWp1CtqymLn50SaxrUtGrd9 ggU07zFiLpc/NWRt1XSDFUzGpRWkD5CQGA9qLa5Q=
In-reply-to: <52F09E36.8050606@xxxxxxxxxxxxxxxxx>
References: <52E91923.4070706@xxxxxxxxxxx> <1391022066-sup-5863@xxxxxxxxxxxxxxx> <52E99504.4030902@xxxxxxxxxxxxxxxxx> <1391090527-sup-4664@xxxxxxxxxxxxxxx> <20140130202819.GO2212@dastard> <52EB3B96.7000103@xxxxxxxxxxxxxxxxx> <1391202273-sup-9265@xxxxxxxxxxxxxxx> <52ED61C9.8060504@xxxxxxxxxxxxxxxxx> <20140202212152.GP2212@dastard> <1391443675-sup-1730@xxxxxxxxxxxxxxx> <20140203214128.GR13997@dastard> <52F09E36.8050606@xxxxxxxxxxxxxxxxx>
User-agent: Sup/git
Howdy, sorry for digging up this thread, but I've run into an issue
again, and am looking for advice.

Excerpts from Stan Hoeppner's message of 2014-02-04 03:00:54 -0500:
> After a little digging and thinking this through...
> The default PE size is 4MB but up to 16GB with LVM1, and apparently
> unlimited size with LVM2.  It can be a few thousand times larger than
> any sane stripe width.  This makes it pretty clear that PEs exist
> strictly for volume management operations, used by the LVM tools, but
> have no relationship to regular write IOs.  Thus the PE size need not
> match nor be evenly divisible by the stripe width.  It's not part of the
> alignment equation.

So in the course of actually going about this, I realized that this
actually is not true (I think).

Logical volumes can only have sizes that are multiple of the physical
extent size (by definition, really), and so there's no way to have
logical volumes end on a multiple of the array's stripe width, given my
stripe width of 9216s, there doesn't seem to be an abundance of integer
solutions to 2^n mod 9216 = 0.

So my question is, then, does it matter if logical volumes (or, really,
XFS file systems) actually end right on a multiple of the stripe width,
or only that it _begin_ on a multiple of it (leaving a bit of dead space
before the next logical volume)?

If not, I'll tweak things to ensure my stripe width is a power of 2.

Thanks again!
Morgan Hamill

<Prev in Thread] Current Thread [Next in Thread>