Re: data-pool option for qemu-img / ec pool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it possible to set data-pool for ec-pools on qemu-img?
For repl-pools I used "qemu-img convert" to convert from e.g. vmdk to raw
and write to rbd/ceph directly.

The rbd utility is able to do this for raw or empty images but without
convert (converting 800G and writing it again would now take at least twice
the time).

Do I miss a parameter for qemu-kvm?

Just in case:
You don't need to setup ceph.conf for data-pool work if your rbd image is already created. Luminous+ client (librbd) will be find data-pool automatically when connected to rbd image and fetch headers. This qemu-img command for work with pre created rbd image, i.e. image should exist in pool - only in this case qemu-img will be start convert.

[vdsm@rhev-host ~]# qemu-img convert -m 16 -W -p -n -f raw -O raw <your_image_path> rbd:<your_pool>/volume-<cinder_volume_id>:id=cinder:key=<cinder_key>:mon_host=172.16.16.2,172.16.16.3,172.16.16.4
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux