Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[ubuntu] vmbuilder generated disk file size

$
0
0
vmbuilder creates small disk files for kvm and vmw6 hypervisor machines and full-sized disk files for esxi hypervisor machines. I didn't specify any disk pre-allocation options (I don't even know if there is such a thing for vmbuilder).

The following VMs were created using the same command, with the exception of the hypervisor choice.


ubuntu-esxi:
total 11G
-rw-r--r-- 1 aaron.smith aaron.smith 3.0G Sep 11 16:55 tmpb9a4Ke-flat.vmdk
-rwx---r-x 1 aaron.smith aaron.smith 487 Sep 11 16:55 tmpb9a4Ke.vmdk*
-rw-r--r-- 1 aaron.smith aaron.smith 7.9G Sep 11 16:55 tmpsuqqPO-flat.vmdk
-rwx---r-x 1 aaron.smith aaron.smith 490 Sep 11 16:56 tmpsuqqPO.vmdk*
-rwx---r-x 1 aaron.smith aaron.smith 1.3K Sep 11 16:56 ubuntu.vmx*

ubuntu-kvm:
total 540M
-rwxrwxr-x 1 aaron.smith aaron.smith 95 Sep 11 17:03 run.sh*
-rw-r--r-- 1 aaron.smith aaron.smith 3.7M Sep 11 17:03 tmpXCjTMI.qcow2
-rw-r--r-- 1 aaron.smith aaron.smith 537M Sep 11 17:03 tmpz8XMvm.qcow2

ubuntu-vmw6:
total 538M
-rw-r--r-- 1 aaron.smith aaron.smith 4.2M Sep 11 17:19 tmpeUGwQZ.vmdk
-rw-r--r-- 1 aaron.smith aaron.smith 550M Sep 11 17:18 tmpU_bTYR.vmdk
-rwx---r-x 1 aaron.smith aaron.smith 672 Sep 11 17:19 ubuntu.vmx*



Does anybody know why esxi disks are full-sized? Is it possible to create small disk files for all hypervisors, or specify if the disk should be sparse or fully pre-allocated?

--
@@ron

Viewing all articles
Browse latest Browse all 4211

Trending Articles



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