Re: Raid5 says it's rebuilding, but it lies :)

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

 



On Wednesday April 19, k_schricker@xxxxxxx wrote:
> I have a raid5 configuration with 4 disks, of which all were active.  My
> system froze due to a separate issue (firewire), so I had to power cycle. 
> In the past, I've always been able to recover with fsck on /dev/md0, however
> this time I was not, and I am unable to re-assemble the array now.
> 
> I'm really hoping someone can help me with this.  I've been googling and
> reading the mdadm manpage for 3 days and getting nowhere.
> 
> After booting, I get 3 active disks and one faulty.  Theoretically with
> raid5 I should be able to recover from this, right? :)  When I add it back
> to the array, it changes to "spare rebuilding".  However it lies: no Rebuild
> Status ever shows up (and I let it run overnight).

Hmmm... there is certainly room for removing confusion from that
"mdadm -D" is reporting.  However what you want to do it:

 mdadm -S /dev/md0
 mdadm -A /dev/md0 --force /dev/sd[abd]
 mdadm /dev/md0 --add /dev/sdv

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