Re: help please - recovering from failed RAID5 rebuild

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

 



On Sat, 9 Apr 2011 11:27:20 +0200 sanktnelson 1 <sanktnelson@xxxxxxxxxxxxxx>
wrote:

> 2011/4/8 NeilBrown <neilb@xxxxxxx>:
>  
> >
> > Maybe the best thing to do at this point is post the output of
> >  mdadm -E /dev/sd[bcdef]1
> > and I'll see if I can make sense of it.
> 
> Thanks for your advice! here is the output:

It looks like it is in reasonably good shape (relatively speaking...).

I would
  mdadm -S /dev/md0
  mdadm -Af /dev/md0 /dev/sd[bdef]1
  fsck -nf /dev/md0

and if it looks good
  mount /dev/md0
  copy off any data that you can that you cannot live without.

Then stop the array
  mdadm -S /dev/md0
and copy sdd to sdc with dd-rescue
When that completes, assemble the array with
  mdadm -A /dev/md0 /dev/sd[bcef]1
  fsck -nf /dev/md0

and then if it looks good
  mdadm --zero /dev/sdd1
  mdadm /dev/md0 --add /dev/sdd1
and with luck it will successfully rebuild sdd1 and you will have redundancy
again.

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