From: Stan Hoeppner <stan@hardwarefreak.com>
To: Michael Monnerie <michael.monnerie@is.it-management.at>
Cc: xfs@oss.sgi.com
Subject: Re: Optimal XFS formatting options?
Date: Tue, 17 Jan 2012 05:34:26 -0600 [thread overview]
Message-ID: <4F155CC2.3050201@hardwarefreak.com> (raw)
In-Reply-To: <201201171019.58714@zmi.at>
On 1/17/2012 3:19 AM, Michael Monnerie wrote:
> On Dienstag, 17. Januar 2012 Stan Hoeppner wrote:
>> Thanks for the correction/reminder Dave. So in this case the first
>> sector of the first partition would need to reside at LBA1280 in this
>> array (655360 byte stripe width, 1280 sectors/stripe), as the
>> partition table itself is going to occupy some sectors at the
>> beginning of the first stripe. By creating the partition at LBA1280
>> we make sure the first sector of the XFS filesystem is aligned with
>> the first sector of the 2nd stripe.
>
> There's one big problem with that: Many people will sooner or later
> expand and existing array. If you add one drive, all your nice stripe
> width alignment becomes bogus, and suddenly your performance will drop.
So to be clear, your issue with the above isn't with my partition
alignment math WRT the OP's P2000 array, but is with using XFS stripe
alignment in general, correct?
> There's no real way out of that, but three solutions come to my mind:
> - backup before expand/restore after expand with new alignment
> - leave existing data, just change mount options so after expansion at
> least new files are going to be aligned to the new stripe width.
> - expand array by factors of two. So if you have 10 data drives, add 10
> data drives. But that creates other problems (probability of single
> drive failure + time to recover a single broken disk)
There is one really simple way around this issue you describe: don't add
drives to an existing array. Simply create another array with new
disks, create a new aligned XFS on the array, and mount the filesystem
in an appropriate location. There is no 11th Commandment stating one
must have a single massive XFS atop all of one's disks. ;)
There is little to no application software today that can't be
configured to store its data files across multiple directories. So
there's no need to box oneself into the corner you describe above.
--
Stan
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-01-17 11:34 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-14 17:44 Optimal XFS formatting options? MikeJeezy
2012-01-14 22:23 ` Stan Hoeppner
2012-01-16 0:27 ` MikeJeezy
2012-01-16 4:56 ` Stan Hoeppner
2012-01-16 23:11 ` Dave Chinner
2012-01-17 3:31 ` Stan Hoeppner
2012-01-17 9:19 ` Michael Monnerie
2012-01-17 11:17 ` Emmanuel Florac
2012-01-17 11:34 ` Stan Hoeppner [this message]
2012-01-20 15:52 ` Michael Monnerie
2012-01-20 22:44 ` Stan Hoeppner
2012-01-24 10:31 ` Michael Monnerie
2012-01-15 1:14 ` Peter Grandi
2012-01-20 9:03 ` Linda Walsh
2012-01-20 12:06 ` Peter Grandi
2012-01-20 15:55 ` Michael Monnerie
2012-01-23 4:21 ` Dave Chinner
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=4F155CC2.3050201@hardwarefreak.com \
--to=stan@hardwarefreak.com \
--cc=michael.monnerie@is.it-management.at \
--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