public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: Dave Chinner <david@fromorbit.com>
Cc: Chris Murphy <lists@colorremedies.com>,
	"xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: xfs hardware RAID alignment over linear lvm
Date: Thu, 26 Sep 2013 03:44:14 -0500	[thread overview]
Message-ID: <5243F3DE.3050900@hardwarefreak.com> (raw)
In-Reply-To: <20130925215713.GH26872@dastard>

On 9/25/2013 4:57 PM, Dave Chinner wrote:
...
> Linear concatentation looks like this:
> 
> offset		volume				array
> 0		+-D1-+-D2-+.....+-Dn-+		0	# first sw
> .....
> X-sw		+-D1-+-D2-+.....+-Dn-+		0
> X		+-E1-+-E2-+.....+-En-+		1	# first sw
> .....
> 2X-sw		+-E1-+-E2-+.....+-En-+		1
> 2X		+-F1-+-F2-+.....+-Fn-+		2	# first sw
> .....
> 3X-sw		+-F1-+-F2-+.....+-Fn-+		2
> 
> Where:
> 	D1...Dn are the disks in the first array
> 	E1...En are the disks in the second array
> 	F1...Fn are the disks in the third array
> 	X is the size of the each array
> 	sw = su * number of data disks in array
> 
> As you can see, all the volumes are arranged in a single column -
> identical to a larger single array of the same size.  Hence the
> exposed alignment of a single array is what the filesystem should be
> aligned to, as that is how the linear concat behaves.
> 
> You also might note here that if you want the second and subsequent
> arrays to be correctly aligned to the initial array in the linear
> concat (and you do want that), the arrays must be sized to be an
> exact multiple of the stripe width.

On a similar note, if I do a concat like this I specify agsize/agcount
during mkfs.xfs so no AGs straddle array boundaries.  I do this to keep
per AG throughput consistent, among other concerns.  This may or may not
be of benefit to the OP.  mkfs.xfs using defaults is not aware of the
array boundaries within the concat, so it may well create AGs across
array boundaries.

-- 
Stan


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2013-09-26  8:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-25 12:56 xfs hardware RAID alignment over linear lvm Stewart Webb
2013-09-25 21:18 ` Stan Hoeppner
2013-09-25 21:34   ` Chris Murphy
2013-09-25 21:48     ` Stan Hoeppner
2013-09-25 21:53       ` Chris Murphy
2013-09-25 21:57     ` Dave Chinner
2013-09-26  8:44       ` Stan Hoeppner [this message]
2013-09-26  8:55       ` Stewart Webb
2013-09-26  9:22         ` Stan Hoeppner
2013-09-26  9:28           ` Stewart Webb
2013-09-26 21:58           ` Dave Chinner
2013-09-27  1:10             ` Stan Hoeppner
2013-09-27 12:23               ` Stewart Webb
2013-09-27 13:09                 ` Stan Hoeppner
2013-09-27 13:29                   ` Stewart Webb
2013-09-28 14:54                     ` Stan Hoeppner
2013-09-30  8:48                       ` Stewart Webb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5243F3DE.3050900@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=david@fromorbit.com \
    --cc=lists@colorremedies.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox