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 <[EMAIL PROTECTED]>:
> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to