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 <[email protected]> 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 10G > Formatting 'rbd:storage1/CentOS7-3', fmt=qcow2 size=10737418240 > encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 > qemu-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 <[email protected]> > 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 > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > -- Marius Vaitiekūnas
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
