how to shrink KVM hard drive image -


when copy hd image 1 machine one, file become full size. possible shrink actual size? have google lot nothing found. hope give me clue. thanks!

leo

images can sparsed, , cp might not respect various reasons. would:

  • check real file usage (du -sh vm.img or qemu-img info vm.img)
  • use qemu-img convert -s recreate sparse image
  • convert qcow2 have growing , versatile image instead

Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -