[plug] Migrating partitions on Linux

Daniel Foote freefoote at gmail.com
Wed Jul 11 07:22:57 WST 2007


> Otherwise... dd is sloooow :) possibly increase the block size..

Increasing the block size is one way to make it faster. The other
issue I usually run into with Knoppix disks is that it doesn't enable
DMA for the hard drives, which means that your transfers go at a
little more than 1MB/s.

Before you start the transfer, enable DMA for the drives in question:

hdparm -d 1 /dev/hda

To see how fast it's going, once you start the dd, switch to another
VT and find the pid of the dd command. Then ask it how far its got:

kill -USR1 <pid>

Switch back to the VT where dd was running, and it will have printed a summary.

Hope this helps!

Daniel Foote.



More information about the plug mailing list