linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Smith <andy@strugglers.net>
To: NeilBrown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: grub-probe: "found two disks with the index 3 for RAID md2" after changing superblock 0.9 to 1.0
Date: Tue, 16 Sep 2014 04:00:24 +0000	[thread overview]
Message-ID: <20140916040023.GG27492@bitfolk.com> (raw)
In-Reply-To: <20140916075458.155ca17a@notabene.brown>

Hi Neil,

On Tue, Sep 16, 2014 at 07:54:58AM +1000, NeilBrown wrote:
> On Mon, 15 Sep 2014 17:12:52 +0000 Andy Smith <andy@strugglers.net> wrote:
> > On Mon, Sep 15, 2014 at 05:00:37PM +1000, NeilBrown wrote:
> > >   mdadm --zero-super --metadata=0.90 /dev/sda3
> > > 
> > > will remove any 0.90 metadata.
> > 
> > Trying that whole the array is running:
> > 
> > mdadm: Couldn't open /dev/sda3 for write - not zeroing
> > 
> > This needs to be done with the array stopped, presumably?
> 
> It's preferred, but if you are really confident (and I think you are), then
> adding --force is justified and should make it work.

Yep, that worked, thank you! No more complaints from grub-probe.

Do you consider it a bug that mdadm does not zero the old metadata
when upgrading it to a new version?

Or do you consider it a documentation issue to explain that it may
be necessary to manually do it?

I think I would've liked grub-probe at least in verbose mode to say
which version of metadata it was reading from where. That would've
been immediately enlightening, so I'll see if they would accept a
patch for that…

Cheers,
Andy
--
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:[~2014-09-16  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-15  6:47 grub-probe: "found two disks with the index 3 for RAID md2" after changing superblock 0.9 to 1.0 Andy Smith
2014-09-15  7:00 ` NeilBrown
2014-09-15 17:12   ` Andy Smith
2014-09-15 21:54     ` NeilBrown
2014-09-16  4:00       ` Andy Smith [this message]
2014-09-18  6:49         ` NeilBrown

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=20140916040023.GG27492@bitfolk.com \
    --to=andy@strugglers.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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).