Re: Raid1 uses partially reconstructed drive

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

 



On Wednesday November 15, dsung@xxxxxxxxxxxxx wrote:
> Perhaps this is the problem addressed in the 2.6.18.2 patch... But I
> thought I'd post it here just in case.
> 
> I was cloning some drives, and ended up creating a 1 drive RAID1 array.
> After that was built, I decided to add my spare drive and allow the
> reconstruction to take care of things.  As soon as I saw that
> reconstruction was taking place, I shutdown the system, put the drives
> away and closed the case.
> 
> To my surprise, when I booted, I encountered numerous disk errors.
> Apparently the system decided to ues the partially reconstructed drive
> as the primary!  And of course, it had no knowledge that reconstruction
> needed to continue.  My data was hosed and I had to restart the cloning
> process.

I've been trying to reproduce this and have failed.  Can you give me
some more details?
Where you using version 1 metadata or the default version 0.90 (though
/etc/mdadm.conf can override the default).
Were you using a write-intent bitmap?  If so, internal or external?

If you can come up with an exact sequence of actions to reproduce this
I'd really appreciate it, but I don't really expect it.

Thanks,
NeilBrown
-
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