On Tue, Jul 31, 2018 at 11:10 AM Ilja Slepnev <[email protected]> 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 Luminous
>
> root@local:~# rbd --cluster local mirror pool enable rbd-2 pool
> 2018-07-31 17:35:57.350506 7fa0833af0c0 -1 librbd::api::Mirror: mode_set:
> failed to allocate mirroring uuid: (95) Operation not supported
>
> No problem with replicated pool:
> root@local:~# rbd --cluster local mirror pool enable rbd pool
> root@local:~#
>
> Pool configuration:
> root@local:~# ceph --cluster local osd pool ls detail
> pool 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 rbd
> pool 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 rbd
>
> BR,
> --
> Ilja Slepnev
> _______________________________________________
> ceph-users mailing list
> [email protected]
> 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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to