Re: grub-probe: "found two disks with the index 3 for RAID md2" after changing superblock 0.9 to 1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux