Re: RAID6 reshape, 2 disk failures

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

 



On Wed, 17 Oct 2012 09:03:11 +0100 Mathias Burén <mathias.buren@xxxxxxxxx>
wrote:


> Any idea why it says rebuilding, when it's not? Is it going to attempt
> a rebuild after the reshape?

Minor bug in mdadm.
The device is clearly faulty:

    Number   Major   Minor   RaidDevice State
       0       8       65        0      faulty spare rebuilding   /dev/sde1

so mdadm should never suggest that it is also spare and rebuilding. 
I'll fix that.

What is a little odd is that 'RaidDevice' is still '0'.  Normally when a
device fails the RaidDevice gets set to '-1'.
This doesn't happen immediately though - md waits until all pending requests
have completed and then disassociated with the device and sets raid_disk to
-1.
So you seem to have caught it before the device was fully quiesced .... or
some bug has slipped in and devices that get errors don't fully quiesce any
more....

NeilBrown

Attachment: signature.asc
Description: PGP signature


[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