[Fedora-xen] Guest Image File Size

John Summerfield debian at herakles.homelinux.org
Sun Dec 2 00:21:38 UTC 2007


Daniel P. Berrange wrote:
> On Sat, Dec 01, 2007 at 02:03:06PM -0500, Mark Nielsen wrote:
>> I think you'll get the same sort of thing if you gzip the file. I've 
>> gzip'd some 20G xen images down to around 2G.
> 
> AFAIR, this is just because sparse files appear as long sequences of
> zeros & thus compress wel - gzip isn't actually optimizing for sparseness.
> The trouble is that when you extract the file gunzip will fully allocate
> it filling with zeros.

undo that with "cp --sparse"


-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)




More information about the Fedora-xen mailing list