Q: | Why are my cloned disks so big, I thought QCOWs would be smaller if my disk was mostly empty ‽ [48] |
A: | Creating a disk image from a device copies all blocks from the source device. This includes data which has been deleted on the filesystem. When you delete a file from the filesystem the operating system will not signal to the disk that it should mark the formerly occupied blocks as free [49] . The additional overhead associated with the operation would hurt disk performance. What option do you have available if you want to minimize the size of the created disk image? You have two options, a free utility called zerofree [50] , and virt-sparsify. I refer you to Section 4.1.5, “virt-sparsify” for more information on virt-sparsify. |
Q: |
Why do I get a |
A: | A process is accessing files on the mounted volume. Possible fixes:
|
[48] This character “‽” is called the interrobang. I just blew your mind.
[49] This is what allows data recovery software to work
[50] zerofree homepage: http://intgat.tigress.co.uk/rmy/uml/sparsify.html