From: Milan Broz <mbroz@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] ext3 on lvm2 on raid10
Date: Fri, 27 Feb 2009 10:13:31 +0100 [thread overview]
Message-ID: <49A7AEBB.3010109@redhat.com> (raw)
In-Reply-To: <20090227031359.63e57341@dhcp-143.ilievnet.com>
Daniel Iliev wrote:
> How is the raid10 chunk size related to LVM2 layout and how do ext3's
> "stride" and "stripe-width" parameters depend on LVM2?
>
> In more detail:
> I've 4 equal HDDs. My intention is to make a raid10, put LVM2 on top
> of it and format the LVM volumes with ext3.
>
> stride and stripe-width values are described in MKE2FS(8), but the
> case with LVM is not covered there.
>
> Please, point me to some documentation on the subject or advise me how
> to proceed.
Hi,
lvm2 since version 2.02.41 allows automatically align LV start according
to underlying md device "chunk" size.
See this paramater in lvm.conf:
# By default, if a PV is placed directly upon an md device, LVM2
# will align its data blocks with the the chunk_size exposed in sysfs.
# 1 enables; 0 disables.
md_chunk_alignment = 1
You should also set extent size as multiple of chunk size.
(The development code in CVS also allows set the alignment manually
using parameter, so administrator can set the align value according
to other types of underlaying devices - useful for hw raid, SSD, etc.)
Milan
--
mbroz@redhat.com
next prev parent reply other threads:[~2009-02-27 9:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-27 1:13 [linux-lvm] ext3 on lvm2 on raid10 Daniel Iliev
2009-02-27 9:13 ` Milan Broz [this message]
2009-02-28 11:53 ` Daniel Iliev
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=49A7AEBB.3010109@redhat.com \
--to=mbroz@redhat.com \
--cc=linux-lvm@redhat.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.