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?

link|improve this question

50% accept rate
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
feedback

1 Answer

up vote 2 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.

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

Your Answer

 
or
required, but never shown

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