[CentOS-virt] compress raw image
Ed Heron
Ed at Heron-ent.comThu Aug 4 17:38:12 UTC 2011
- Previous message: [CentOS-virt] compress raw image
- Next message: [CentOS-virt] compress raw image
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2011-08-04 at 16:35 +0200, Rainer Traut wrote: > Hi, > > I need to transfer a local raw image to another datacenter. > Is there a way to achieve good compression of this image, I heard of > tools overwriting unused space with zeros. Is this a good idea? > > It's an W2k8 image/NTFS. > > Thx > Rainer I'd use dd if=<local dev> | bzip2 | ssh <remote user>@<remote server> "bunzip2 | dd of=<remote dev>" or something similar. I'd then do ssh <remote user>@<remote server> "md5sum <remote dev>" ; md5sum <local dev> to give myself some reassurance that they were the same.
- Previous message: [CentOS-virt] compress raw image
- Next message: [CentOS-virt] compress raw image
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS-virt mailing list