cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nux! <...@li.nux.ro>
Subject Re: [RFC] adding volume provisioning method option
Date Sat, 01 Feb 2014 10:31:33 GMT
On 01.02.2014 06:43, Marcus wrote:
> 
> [root@server ~]# qemu-img create -f qcow2 -o preallocation=metadata
> imagepre.qcow2 10G
> Formatting 'imagepre.qcow2', fmt=qcow2 size=10737418240 encryption=off
> cluster_size=65536 preallocation='metadata'
> [root@server ~]# qemu info imagepre.qcow2
> -bash: qemu: command not found
> [root@server ~]# qemu-img info imagepre.qcow2
> image: imagepre.qcow2
> file format: qcow2
> virtual size: 10G (10737418240 bytes)
> disk size: 1.7M
> cluster_size: 65536
> 
> preallocation=metadata leaves disk as 1.7M, it's also sparse, but a 
> bit bigger.

I think just a global switch might be enough given the above.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

Mime
View raw message