From: Michal Soltys <soltys@ziu.info>
To: linux-raid@vger.kernel.org
Cc: zoltans@geograph.co.za
Subject: Re: mdadm raid6->LVM->ext4 setup
Date: Wed, 17 Nov 2010 00:39:45 +0100 [thread overview]
Message-ID: <4CE31641.50909@ziu.info> (raw)
In-Reply-To: <20101116221722.GC8943@maude.comedia.it>
On 10-11-16 23:17, Luca Berra wrote:
> On Tue, Nov 16, 2010 at 08:08:44PM +0200, Zoltan Szecsei wrote:
>>
>> *** Commands used:
>> mdadm --create /dev/md0 --metadata=1.2 --auto=md --assume-clean
>> --bitmap=internal --bitmap-chunk=131072 --chunk=512 --level=6
>> --raid-devices=8 /dev/sd[abcdefgh]
>> mdadm --detail --scan >> /etc/mdadm.conf
>> mdadm --assemble /dev/md0
> as i said this is not useful
>> pvcreate --metadatasize 512 /dev/md0
> you should use --dataalignment, not --metadatasize, also you should
Also with reference to metadatasize - keep in mind the value is rounded
up to the /next/ 64k boundary (or it was a while ago, perhaps it's
changed now). So in your case, 512 would really result with 576.
With reference to --dataalignment - there's also --dataalignoffset
option (although not really important in your setup).
You might consider adjusting
/sys/block/<yourmddevice>/md/stripe_cache_size to higher values when you
have everything set. It tends to give quite a performance boost.
next prev parent reply other threads:[~2010-11-16 23:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-16 18:08 mdadm raid6->LVM->ext4 setup Zoltan Szecsei
2010-11-16 18:16 ` Roman Mamedov
2010-11-16 18:23 ` Zoltan Szecsei
2010-11-16 22:17 ` Luca Berra
2010-11-16 23:39 ` Michal Soltys [this message]
2010-11-17 7:49 ` Zoltan Szecsei
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=4CE31641.50909@ziu.info \
--to=soltys@ziu.info \
--cc=linux-raid@vger.kernel.org \
--cc=zoltans@geograph.co.za \
/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).