Can you connect to your Ceph cluster?
You can pass options to the cmd line like this:

$ qemu-img create -f rbd 
rbd:instances/vmdisk01:id=leseb:conf=/etc/ceph/ceph-leseb.conf 2G

Cheers.
–––– 
Sébastien Han 
Cloud Engineer 

"Always give 100%. Unless you're giving blood."

Phone: +33 (0)1 49 70 99 72 
Mail: sebastien....@enovance.com 
Address : 11 bis, rue Roquépine - 75008 Paris
Web : www.enovance.com - Twitter : @enovance 

On 12 Jul 2014, at 03:06, Yonghua Peng <sys...@mail2000.us> wrote:

> Anybody knows this issue? thanks.
> 
> 
> 
> 
> Fri, 11 Jul 2014 10:26:47 +0800 from Yonghua Peng <sys...@mail2000.us>:
> Hi,
> 
> I try to create a qemu image, but got failed.
> 
> ceph@ceph:~/my-cluster$ qemu-img create -f rbd rbd:rbd/qemu 2G
> Formatting 'rbd:rbd/qemu', fmt=rbd size=2147483648 cluster_size=0 
> qemu-img: error connecting
> qemu-img: rbd:rbd/qemu: error while creating rbd: Input/output error
> 
> Can you tell what's the problem?
> 
> Thanks.
> 
> -- 
> We are hiring cloud Dev/Ops, more details please see: YY Cloud Jobs
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to