Re: Migrate old EC pool to new EC pool (mimic)

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

 



On Sat, Jul 27, 2019 at 11:54:40PM +0200, Valentin Bajrami wrote:

> here it is: https://ceph.com/geen-categorie/ceph-pool-migration/
> 

> > 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
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx




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

  Powered by Linux