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
Post a Comment