On Sat, Jul 27, 2019 at 11:54:40PM +0200, Valentin Bajrami wrote:
> So, I've been reading the following blog but
not sure if this will
> work with an EC pool. The header which says "The simple way" shows the
> steps how it's done but there is a small comment beneath it which says
> and I quote:
>
> ||
>
> "But it does not work in all cases. For example with EC pools : “error
> copying pool testpool => newpool: (95) Operation not supported”."
I suppose it is for the case when migrating from a replicated pool to
EC pool. EC pools does not support omap, so you can not copy objects
with omap values (like rbd image metadata) to EC pool.
I think it should work when copying data from EC pool to EC pool, but
I would consider some other way, as `rados cppool` is usually not
recommended. Depending on what application the pool is used for (rbd,
rgw, cephfs) you may use the native aplication tools for migration.
E.g. for rbd I would recommend `rbd migration` if you are on
Nautilus. For mimic there is `rbd deep copy`. For earlier versions you
could use `rbd copy` or the combination of `rbd clone` + `rbd
flatten`, but you can not copy snapshots this way.
"Using Cache Tier" way will not work for your case as EC pool can not
be usead as cache tier. It can be used only when migrating from a
replicated pool (to another replicated pool or EC pool).
--
Mykola Golub