[ovirt-users] Can I use qcow2?
Federico Simoncelli
fsimonce at redhat.com
Wed Sep 3 07:58:13 EDT 2014
----- Original Message -----
> From: "Itamar Heim" <iheim at redhat.com>
> To: "Demeter Tibor" <tdemeter at itsmart.hu>
> Cc: users at ovirt.org, "Allon Mureinik" <amureini at redhat.com>, "Federico Simoncelli" <fsimonce at redhat.com>
> Sent: Wednesday, September 3, 2014 12:50:30 PM
> Subject: Re: [ovirt-users] Can I use qcow2?
>
> On 09/03/2014 11:14 AM, Demeter Tibor wrote:
> > On shared glusterfs.
> >
>
> Allon/Federico - I remember on NFS, qcow2 isn't used by default, since
> raw is sparse by default.
> (but i don't remember if it "won't work", or just not enabled by default).
>
> can one create a qcow2 disk for a VM with gluster storage?
Yes through rest-api. From the ovirt-shell you could run:
$ add disk \
--vm-identifier <vm_name> \
--provisioned_size <size_in_bytes> \
--interface virtio \
--name <disk_name> \
--format cow \
--sparse true \
--storage_domains-storage_domain storage_domain.name=<gluster_domain_name>
--
Federico
More information about the Users
mailing list