Re: [CentOS-virt] compress raw image

2011-08-04 Thread Izaac
On Thu, Aug 04, 2011 at 04:35:20PM +0200, Rainer Traut wrote: > 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? You're talking about sparse files?

Re: [CentOS-virt] compress raw image

2011-08-04 Thread Nehemiah
you seem to be subscribing to the 'its easier to do it all in one line' approach. don't do that. 1) dump: dd if= of=imagefile.iso 2) compress: bzip2 -z imagfile.iso -c > imagfile.iso.bz2 3) send: scp your_usern...@remotehost.edu:imagefile.iso /some/local/directory/imagefile.iso.bz2 4) decompress

Re: [CentOS-virt] compress raw image

2011-08-04 Thread Ed Heron
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. > >

Re: [CentOS-virt] compress raw image

2011-08-04 Thread Nehemiah Dacres
its cool as long as you use a lossless compression format like bz2 On Thu, Aug 4, 2011 at 9:35 AM, 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 wit

[CentOS-virt] compress raw image

2011-08-04 Thread Rainer Traut
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 ___ CentOS-virt ma