Levinux.com icon indicating copy to clipboard operation
Levinux.com copied to clipboard

The command used to format blank disk image

Open bsapwindows opened this issue 6 years ago • 1 comments

Hi Mike, thank you for making this project! :+1:

I'm messing with it recently, but I'm not so familiar with FS and I hope you could help me with the disk image issue.

What I want to achieve is to keep the image size as small as possible. What I did was qemu-img.exe create -f qcow2 hd.qcow2 1G, the output file size is rather big comparing to your home.qcow etc. but at this moment it's acceptable, because I thought it's qcow2 not qcow, and I can adjust the output size with cluster_size option. What unacceptable is, after I download a small file within the VM, the image size increased to dozens of MBs from several hundred KBs. But your image files don't act like this, after download a file, the size of "home.qcow" only increase several KBs.

So I wonder if you could teach me on how you formatted the disk image, or what did you do to make it so lean?

Thanks in advance!

bsapwindows avatar Jul 12 '18 10:07 bsapwindows