On Tue, Jul 31, 2018 at 11:10 AM Ilja Slepnev <islepnev@xxxxxxxxx> wrote:
Hi,_______________________________________________is it possible to establish RBD mirroring between replicated and erasure coded pools?I'm trying to setup replication as described on http://docs.ceph.com/docs/master/rbd/rbd-mirroring/ without success.Ceph 12.2.5 Luminousroot@local:~# rbd --cluster local mirror pool enable rbd-2 pool2018-07-31 17:35:57.350506 7fa0833af0c0 -1 librbd::api::Mirror: mode_set: failed to allocate mirroring uuid: (95) Operation not supportedNo problem with replicated pool:root@local:~# rbd --cluster local mirror pool enable rbd poolroot@local:~#Pool configuration:root@local:~# ceph --cluster local osd pool ls detailpool 13 'rbd' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 256 pgp_num 256 last_change 2219 flags hashpspool stripe_width 0 compression_mode none application rbdpool 15 'rbd-2' erasure size 6 min_size 5 crush_rule 4 object_hash rjenkins pg_num 64 pgp_num 64 last_change 2220 flags hashpspool,ec_overwrites stripe_width 16384 application rbdBR,--
Ilja Slepnev
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
RBD requires that its base-pool is a replicated pool, but you can place the RBD image data objects in an erasure-coded pool. For rbd-mirror daemon to do this by default, you can set the "rbd default data pool = XYZ" configuration option in your ceph.conf on your rbd-mirror daemon host.
Jason
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com