Re: RAID 5 inaccessible - continued

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

 



Hi David,
Thank you.
I will give ddrescue a shot then. But what is it different than a dd
with the noerror conversion?

Krekna

2006/2/14, David Greaves <david@xxxxxxxxxxxx>:
> Krekna Mektek wrote:
>
> >I want to rebuilt from the good one and the faulty one. That's why I
> >wanted to dd the disk to an image file, but it complains it has no
> >boot sector.
> >
> >
> >
> >>>>I did the folowing:
> >>>>
> >>>>dd conv=noerror if=dev/hdd1 of=/mnt/hdb1/Faulty-RAIDDisk.img
> >>>>losetup /dev/loop0 /mnt/hdb1/Faulty-RAIDDisk.img
> >>>>
> >>>>
> You could try doing this again using ddrescue (google if you need to
> install it):
>
>    ddrescue dev/hdd1 /mnt/hdb1/Faulty-RAIDDisk.img  /mnt/hdb1/Faulty-RAIDDisk.log
>
> Then do it again using -r10 (to increase the retries on the faulty sectors)
>
>    ddrescue -r10 dev/hdd1 /mnt/hdb1/Faulty-RAIDDisk.img  /mnt/hdb1/Faulty-RAIDDisk.log
>
> This will be much quicker because the log file contains details of the
> faulty sectors.
> With luck (mucho luck) you may not even lose data.
>
> David
>
> --
>
>
-
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