“thin provisioning” means “virtually” allocate more harddisk space, than the harddisk (physically) has, then grow the virtual harddisk file according to it’s needs (store more files = size of harddisk.img grows dynamically)
# debian 10; # tested
via bash terminal: to create a thin provisioned harddisk images of capacity of a 32GB capacity via go:
qemu-img create -f qcow2 name-of-harddisk-image.qcow2 1024G
(as VirtualBox does per default via the gui)
then when creating a new virtual machine with virt-manager, select the just created
the gui way of doing that:
(only possible in newer version of virt-manager)
# real disk size du -hs /home/user/vms/debian10 81M # maximum allowed disk size ls -lah /home/user/vms/debian10 -rw------- 1 libvirt-qemu libvirt-qemu 513G Aug 1 14:05 /home/user/vms/debian10
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!