All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: mdadm raid6->LVM->ext4 setup
Date: Tue, 16 Nov 2010 23:17:22 +0100	[thread overview]
Message-ID: <20101116221722.GC8943@maude.comedia.it> (raw)
In-Reply-To: <4CE2C8AC.7010103@geograph.co.za>

On Tue, Nov 16, 2010 at 08:08:44PM +0200, Zoltan Szecsei wrote:
> ***  Setup:
> 8 * 5900RPM Seagte 2TB drives on SiI3132 PCIx x1 card.
> Linux gs0 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 
> x86_64 GNU/Linux
> mdadm - v3.1.4 - 31st August 2010
>   LVM version:     2.02.54(1) (2009-10-26)
>   Library version: 1.02.39 (2009-10-26)
>   Driver version:  4.15.0
> mke2fs 1.41.11 (14-Mar-2010)
>
> ***  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
align to a full stripe
> vgcreate geo_vg0 /dev/md0
> lvcreate -n geo_lvm0 -l 100%FREE geo_vg0
> mkfs -t ext4  -m 1-b 4096 -E stride=128,stripe-width=768 
> /dev/geo_vg0/geo_lvm0
-- 
Luca Berra -- bluca@comedia.it

  parent reply	other threads:[~2010-11-16 22:17 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 [this message]
2010-11-16 23:39   ` Michal Soltys
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=20101116221722.GC8943@maude.comedia.it \
    --to=bluca@comedia.it \
    --cc=linux-raid@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 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.