linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Justin Maggard <jmaggard10@gmail.com>
To: linux-raid@vger.kernel.org
Subject: Component size difference with mdadm
Date: Tue, 20 Apr 2010 14:06:08 -0700	[thread overview]
Message-ID: <g2w150c16851004201406ie5b4b84dpbdd820142fcc4be8@mail.gmail.com> (raw)

I was working on recovering a damaged array today, and I used mdadm
3.1.2 with --assume-clean to get it up and running.  I was surprised
when I wasn't able to mount the filesystem on the array after starting
it, so I did a closer comparison of a dump of the original array
configuration vs. the new one.  I found that the main difference was
that the component size was 1KB smaller now than it used to be.  The
array was originally created with mdadm 2.6.8.  So I compiled the old
2.6.8 version of mdadm and used the same mdadm --assume-clean command,
and bingo, the component size matched the original array config and it
mounted just fine.

So, I suspect there is some new code in mdadm 3.1 that wasn't in 2.6.x
to try to make I/O 4KB-aligned on non-aligned partitions.  Is that
accurate?  If so, is there a way to tell mdadm to behave like older
mdadm versions in these cases?

-Justin

                 reply	other threads:[~2010-04-20 21:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=g2w150c16851004201406ie5b4b84dpbdd820142fcc4be8@mail.gmail.com \
    --to=jmaggard10@gmail.com \
    --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 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).