From: Krzysztof Adamski <k@adamski.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Looking for advice on creating XFS on a large (to me) RAID
Date: Thu, 03 Nov 2011 13:45:00 -0400 [thread overview]
Message-ID: <1320342300.6471.96.camel@oxygen.netxsys.com> (raw)
In-Reply-To: <20111103171407.GA31841@infradead.org>
On Thu, 2011-11-03 at 13:14 -0400, Christoph Hellwig wrote:
> On Thu, Nov 03, 2011 at 12:29:58PM -0400, Krzysztof Adamski wrote:
> > Hi All,
> >
> > I'm about to create a XFS file system on a MD RAID6 made up of 12 3T
> > drives.
> >
> > This is the command line that I was planning to use:
> >
> > -s size=4096
>
> using a sector size larger than the actual disk sector size might risk
> data loss, as the log code expects sector sized writes to be atomic.
>
> If you have a real 4k logical sector disk it should be picked up
> automatically with the kernel topology support. We don't quite do the
> right thing for 512 byte logical / 4k physical disks, in which case
> you might need this line.
The drives I'm using are Hitachi H3IK30003272SW (0S03208) 3TB, I belive
they are the 512 byte logical / 4k physical disks.
> > = sunit=128 swidth=1280 blks
>
> In general you're better off with a 32k stripe unit / chunk size,
> than the extremly large default of 512k.
I'll compare a simple dd benchmark of the raw md device with 32k and
512k and report back. The resync takes over 23 hours :-(
Thanks for the info.
K
prev parent reply other threads:[~2011-11-03 17:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 16:29 Looking for advice on creating XFS on a large (to me) RAID Krzysztof Adamski
2011-11-03 17:14 ` Christoph Hellwig
2011-11-03 17:45 ` Krzysztof Adamski [this message]
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=1320342300.6471.96.camel@oxygen.netxsys.com \
--to=k@adamski.org \
--cc=hch@infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).