Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

LEAP 15.1 virt-manager disk image size differences

$
0
0
I've been using Virtualbox for my test VMs forever basically and recently I decided that I would give virt-manager a try. So far I really like it a lot! But I found something curious.

First, here is a screenshot of the part that is odd.
https://i.imgur.com/r5jwZng.png

If I create the disk image by using the default option then the disk image allocates the full amount of space. If I instead select the option to create a custom image it is a dynamically growing image. And here is the verification.

Code:

> du -sh *
17G    opensuse15.1.qcow2
3.7M    test.qcow2

The first one above was created by selecting the default option and the second was created using the custom option. Both are 16G images and both appear to be the same file format.

Code:

> file opensuse15.1.qcow2
opensuse15.1.qcow2: QEMU QCOW Image (v3), 17179869184 bytes

> file test.qcow2
test.qcow2: QEMU QCOW Image (v3), 17179869184 bytes

The problem here is that I would always like to have them created as the dynamically allocated image but I might sometimes forget that I would need to go through that extra step to do it

Is there a way to have it create the dynamically allocated images by default?

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>