All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: Roberto Spadim <rspadim@gmail.com>
Cc: Bill Davidsen <davidsen@tmr.com>,
	Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: Help creating filesystem (xfs) and partitioning
Date: Thu, 25 Jul 2013 18:27:52 -0500	[thread overview]
Message-ID: <51F1B478.4050901@hardwarefreak.com> (raw)
In-Reply-To: <CAH3kUhEMtauLoymUL7k8s==4NtvX=CRzOJhhtfL2EdJzYygd+A@mail.gmail.com>

On 7/25/2013 5:36 PM, Roberto Spadim wrote:

> i don't know what's the best xfs parameters / fdisk parameters to
> align disk with filesystem, should i add some parameter?

You don't align a filesystem with fdisk.  fdisk creates partitions.  As
I said earlier, start your first partition at sector 2048, and create
each successive partition to be of a size evenly divisible by 4096 bytes.

WRT mkfs.xfs, use the defaults.  It reads the md config and configures
automatically.  You only need to specify command line values when using
hardware RAID or LVM atop hard or software RAID.

And in your case, with only two mirrored spindles, you simply can't do
anything to tweak XFS performance anyway.

-- 
Stan


  reply	other threads:[~2013-07-25 23:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24  0:06 Help creating filesystem (xfs) and partitioning Roberto Spadim
2013-07-24  6:56 ` Stan Hoeppner
     [not found]   ` <CAH3kUhHoQiyhVotNpNDq-rcQ36vZbRrZvoEsUzyo0=9mz8=+3w@mail.gmail.com>
2013-07-24 17:28     ` Stan Hoeppner
     [not found]     ` <CAH3kUhEZLBZD79WW75gWF4a5dvhQas=1+oR6vaTbuNtTBRfayg@mail.gmail.com>
2013-07-24 19:35       ` Stan Hoeppner
2013-07-24 19:41         ` Mark Knecht
2013-07-25  2:34   ` Roberto Spadim
2013-07-25 21:52 ` Bill Davidsen
2013-07-25 22:36   ` Roberto Spadim
2013-07-25 23:27     ` Stan Hoeppner [this message]
2013-07-26  0:36       ` Roberto Spadim
2013-07-26  1:30         ` Stan Hoeppner
2013-07-26  1:47           ` Roberto Spadim
2013-07-26 16:15             ` Stan Hoeppner
2013-07-26 16:47               ` Roberto Spadim
2013-07-28 22:46         ` Bill Davidsen

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=51F1B478.4050901@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=rspadim@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.