[sclug] Copy drive problem

Alex Butcher lug at assursys.co.uk
Fri Mar 1 17:02:04 UTC 2013


On Fri, 1 Mar 2013, Neil Haughton wrote:

> Then I tried as root to 'dd' the sdb1 partition (/var)  to its new home:
>
> dd if=/dev/sdb1 of=/dev/sdc1
>
> After a long pause the message 'read error' appeared and dd bombed out,
> with only a couple of MB transferred.  Why would this be? Have I done
> anything wrong or missed out a vital step?

Sounds like /dev/sdb has developed a bad block or two. You'll need to write
to the block(s) in question to force the drive's firmware to reallocate them
if it's a hard error.

Alternatively, restore from backups onto /dev/sdc1. You do have backups,
right?!? ;-)

> TIA
> Neil

Best Regards,
Alex



More information about the Sclug mailing list