Re: RAID 5 with bad blocks

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

 



A follow up on my suggestion:
> Would it be possible to copy (with 'dd') the device (/dev/sdb) with sector
> errors to a fourth disk (/dev/sde) and then remove the faulty sdb-
> drive and reposition the newly copied sde to sdb's position to have 
> this act as the first sdb-drive, now working without any physical 
> faults, even if the data is incomplete in sectors; and now being 
> possible to recover the third drive (/dev/sdd1)?
'dd' is NOT the program one would want to use for this task.
"ddrescue" is the one!
NB: dd_rescue is not the same program, and may or may not work. Just note that
"apt-get install ddrescue" installs dd_rescue, not ddrescue...
ddrescue is downloaded (with e g curl) from:
# curl ftp.gnu.org/gnu/ddrescue/ddrescue-1.13.tar.gz >ddrescue-1.13.tar.gz

Having installed, copied disk to disk and swapped disks the RAID started ti
rebuild /dev/sdd1 and I have now a clean array again!


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