Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am going to reinstall my system and I want to backup it first.

There is an 80 GB HDD with Ubuntu and 750 GB HDD on which I want to put image. So, I run a live CD and use dd to transfer my sda to an image.

But the problem is: During the process, CPU and HDD temperatures raise and the process horribly slows down. I've interrupted dd with 25 GB cloned. What should I do now?

Is there a way to resume dd? Or a way to do copy in portions? Or, maybe there is a better software than dd to clone a HDD?

share|improve this question
    
Well, the problem is solved. Although overheating was harmful, largest performance increase was achieved with bigger block size/bs (several megabytes). Anyway, skipping/seeking helped too. –  user81420 Jun 21 '11 at 4:25
    
I get exactly the same amount of info copied. root@fe:/dev# dd\n if=/dev/sdb of=/dev/sdc\n dd: reading `/dev/sdb': Input/output error\n 48583648+0 records in\n 48583648+0 records out\n 24874827776 bytes (25 GB) copied, 5235.18 s, 4.8 MB/s\n I was thinking about using the -noerror option. Does that make sense? Thank you. –  Trylks Jul 13 '13 at 15:56

1 Answer 1

up vote 4 down vote accepted

I guess you could use the dd options seek and skip with the same numbers.

Another way would be to use the program 'pv' which can simply pipe data, but can also rate limit that, so then you might control your CPU/HDD temperatures.

share|improve this answer
    
So, if the command I've used was: sudo dd if=/dev/sda5 of=/media/Data1/clone.img then now I should use sudo dd if=/dev/sda5 of=/media/Data1/clone.img seek=NN skip=NN where NN is a number corresponding to 25 GB? Thank you, that makes sense. –  user81420 Jun 20 '11 at 22:43
    
Thank you, it did the work. –  user81420 Jun 21 '11 at 4:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.