Hi Marius,
with ceph rdb, it looks can support qcow2 as well as per its document: - http://docs.ceph.com/docs/master/rbd/qemu-rbd/
--
--
Important The raw data format is really the only sensible format option to use with RBD. Technically, you could use other QEMU-supported formats (such as qcow2 or vmdk), but doing so would add additional overhead, and would also render the volume unsafe for virtual machine live migration when caching (see below) is enabled.
---
without having qcow2, the qemu-kvm cannot make snapshot and other features.... anyone have ideas or experiences on this?
thank you!
On Thu, Jan 28, 2016 at 3:54 PM, Marius Vaitiekunas <mariusvaitiekunas@xxxxxxxxx> wrote:
Hi,With ceph rbd you should use raw image format. As i know qcow2 is not supported.On Thu, Jan 28, 2016 at 6:21 AM, Bill WONG <wongahshuen@xxxxxxxxx> wrote:_______________________________________________Hi Simon,i have installed ceph package into the compute node, but it looks qcow2 format is unable to create.. it show error with : Could not write qcow2 header: Invalid argument---qemu-img create -f qcow2 rbd:storage1/CentOS7-3 10GFormatting 'rbd:storage1/CentOS7-3', fmt=qcow2 size=10737418240 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16qemu-img: rbd:storage1/CentOS7-3: Could not write qcow2 header: Invalid argument---any ideas?thank you!On Thu, Jan 28, 2016 at 1:01 AM, Simon Ironside <sironside@xxxxxxxxxxxxx> wrote:On 27/01/16 16:51, Bill WONG wrote:
i have ceph cluster and KVM in different machine.... the qemu-kvm
(CentOS7) is dedicated compute node installed with qemu-kvm + libvirtd
only, there should be no /etc/ceph/ceph.conf
Likewise, my compute nodes are separate machines from the OSDs/monitors but the compute nodes still have the ceph package installed and /etc/ceph/ceph.conf present. They just aren't running any ceph daemons.
I give the compute nodes their own ceph key with write access to the pool for VM storage and read access to the monitors. I can then use ceph status, rbd create, qemu-img etc directly on the compute nodes.
Cheers,
Simon.
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--Marius Vaitiekūnas
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com