rsync or dd to clone a hard drive?

Kwan Lowe kwan at digitalhermit.com
Wed Oct 6 16:54:46 UTC 2010


On Wed, Oct 6, 2010 at 12:23 PM, Patrick Bartek <bartek047 at yahoo.com> wrote:
> I would use dd to clone (or back up) an entire hard drive.  Easier.  You can even pipe it through gzip to get a compressed image file.

I do exactly that... dd piped through gzip then push through an SSH
session to a remote where it's extracted and written on the fly to
another LV.  I use it to move kvm LVs from machine to machine.  Works
great, but there's not much error checking.  If it's critical I do an
md5sum on the LVs at the end then compare.


More information about the users mailing list