linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Simon Matthews <simon.d.matthews@gmail.com>
Cc: LinuxRaid <linux-raid@vger.kernel.org>
Subject: Re: Can't start array and Negative "Used Dev Size"
Date: Wed, 29 Jun 2011 15:37:53 +1000	[thread overview]
Message-ID: <20110629153753.5279c034@notabene.brown> (raw)
In-Reply-To: <BANLkTimonHoSn5eoX9AB8wLJYR4SFoBd-w@mail.gmail.com>

On Tue, 28 Jun 2011 22:24:41 -0700 Simon Matthews
<simon.d.matthews@gmail.com> wrote:

> Neil,
> 
> 
> 
> On Tue, Jun 28, 2011 at 10:18 PM, NeilBrown <neilb@suse.de> wrote:
> >  mdadm -S /dev/md5
> >  mdadm -C /dev/md5 --metadata 1.0 -l1 -n2 --assume-clean
> 
> Will I lose data if I do this? Should I use metadata 1.2 ?

If you use 1.2 you will lose data.  If you use 1.0 you will not.

With 0.90 and 1.0 the data starts at the start of each device. so 1.0 will
see the same data as 0.90 would.

With 1.2 there is some metadata first and the start starts later, so if you
use that the data will appear in the wrong place.

NeilBrown

> 
> >
> > Then all should be happiness.
> >>
> >
> >  mdadm -S /dev/md4
> >  mdadm -A /dev/md4 /dev/sdc1 /dev/sdd1 --verbose
> 
> That solved it. The array started.
> 
> Thanks!
> 
> Simon
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-06-29  5:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29  4:29 Can't start array and Negative "Used Dev Size" Simon Matthews
2011-06-29  5:18 ` NeilBrown
2011-06-29  5:24   ` Simon Matthews
2011-06-29  5:37     ` NeilBrown [this message]
2011-06-29  5:59       ` Simon Matthews
2011-06-29  6:18         ` NeilBrown
2011-06-29 15:45     ` Simon Matthews
2011-06-30  0:25       ` NeilBrown
2011-06-30  3:15         ` Simon Matthews
2011-07-02  4:41   ` Simon Matthews
2011-07-02  6:19     ` Simon Matthews
2011-07-04  5:45       ` Luca Berra

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=20110629153753.5279c034@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=simon.d.matthews@gmail.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 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).