Re: unable to recover RAID 5 due to bad block

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

 



On 2011-11-10 12:50, Robin Hill wrote:
On Thu Nov 10, 2011 at 05:20:03PM +0100, Alexander Kühn wrote:

ddrescue to the rescue!
Get a another new disk, then ddrescue the one with the read error to
the new disk.
Assemble the array using the new disk instead of the one with the read error.
You will loose the blocks that can't be read of course.
And in the future do run raid check/scrubbing at regular intervals. ;)
Alex.

You may be better cloning the original failed disk - that way it will
have a chance of actually recovering the read error (rather than having
to lose the blocks). It depends on why/how/when the original disk failed
though.

Cheers,
     Robin

The original failed disk can't be recognized by the controller.  I tried to read the disk on another machine with no luck.  It appears to be completely dead.

--
Chris Purves
--
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