Re: [ceph-users] Switching a pool from EC to replicated online ?
You would need to create a new pool and migrate the data to that new pool. Replicated pool fronting an EC pool for RBD is a known-bad workload: http://docs.ceph.com/docs/master/rados/operations/cache-tiering/#a-word-of-caution but others mileage may vary I suppose. In order to migrate you could do an RBD at a time, I would probably take a snapshot and than do an `rbd cp` operation from the poolA/snap to poolB/image If you are okay with the VMs being powered down you could do an `rbd mv` which doesnt support renames across pools, though I would prefer the cp method. You could also do a wholesale pool copy using `rados cppool` see http://ceph.com/geen-categorie/ceph-pool-migration/ best of luck. On Sat, Jan 13, 2018 at 6:37 PM, moftah moftah wrote: > Hi All, > is there a way to switch a pool that is set to be EC to being replicated > without the need to switch to new pool and migrate data ? > > I am getting poor results from EC and want to switch to replicated but i > already have customers on the system . > i using ceph 11 > the EC already have cache tier that is replicated > > Thanks > > ___ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > -- Respectfully, Wes Dillingham wes_dilling...@harvard.edu Research Computing | Senior CyberInfrastructure Storage Engineer Harvard University | 38 Oxford Street, Cambridge, Ma 02138 | Room 204 ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Switching a pool from EC to replicated online ?
You cannot change a pool between EC and replicated. There is no migration path between the two without creating a new pool. You can't even change the EC profile of an EC pool after it's created. On Sat, Jan 13, 2018, 7:00 PM mofta7y wrote: > didnt test with luminous i am still using kraken. > > but for normal RBD workload using EC with cache tier does not give give > good results at all > > this pool has been running for few months with real users and while in > testing it seems somehow ok and usable (still slow) in real workset it > is very slow > > > > On 1/13/2018 6:56 PM, Marc Roos wrote: > > > > I regularly read the opposite here, and was thinking of switching to ec. > Are you sure about what is causing your poor results. > > http://ceph.com/community/new-luminous-erasure-coding-rbd-cephfs/ > > http://ceph.com/geen-categorie/ceph-pool-migration/ > > ___ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Switching a pool from EC to replicated online ?
didnt test with luminous i am still using kraken. but for normal RBD workload using EC with cache tier does not give give good results at all this pool has been running for few months with real users and while in testing it seems somehow ok and usable (still slow) in real workset it is very slow On 1/13/2018 6:56 PM, Marc Roos wrote: I regularly read the opposite here, and was thinking of switching to ec. Are you sure about what is causing your poor results. http://ceph.com/community/new-luminous-erasure-coding-rbd-cephfs/ http://ceph.com/geen-categorie/ceph-pool-migration/ ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Switching a pool from EC to replicated online ?
I regularly read the opposite here, and was thinking of switching to ec. Are you sure about what is causing your poor results. http://ceph.com/community/new-luminous-erasure-coding-rbd-cephfs/ http://ceph.com/geen-categorie/ceph-pool-migration/ ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] Switching a pool from EC to replicated online ?
Hi All, is there a way to switch a pool that is set to be EC to being replicated without the need to switch to new pool and migrate data ? I am getting poor results from EC and want to switch to replicated but i already have customers on the system . i using ceph 11 the EC already have cache tier that is replicated Thanks ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com