On Tue, Sep 25, 2012 at 6:24 AM, Guilhem LETTRON <guilhem.lettron@xxxxxxxxx> wrote: > Hi, > > I use ceph in production with radosgw. > I just see a configuration problem with my radosgw pool, the number of > pgs is really too low. > > To correct, I want to copy all my data to a new pool with "rados > cppool" and switch between the old and the new pool. > > The problem : when I try to copy, I have an error where rados can't > find find a file > > # rados cppool ys-streaming ys-streaming-new > ys-streaming:12_91923020c45da5e68e93657ff93674a31d22b498.eot => > ys-streaming-new:12_91923020c45da5e68e93657ff93674a31d22b498.eot > [...] > ys-streaming:18__shadow_8d9bfdc60d1e5b57bddce191da38e8d30cc25c90.png._IoNls-xb2dyaQ9uzHaE6IRzWpaWg1zx(@18_8d9bfdc60d1e5b57bddce191da38e8d30cc25c90.png) > => ys-streaming-new:18__shadow_8d9bfdc60d1e5b57bddce191da38e8d30cc25c90.png._IoNls-xb2dyaQ9uzHaE6IRzWpaWg1zx(@18_8d9bfdc60d1e5b57bddce191da38e8d30cc25c90.png) > error copying object: No such file or directory > error copying pool ys-streaming => ys-streaming-new: No such file or directory > > Here is the full log : https://gist.github.com/cc27ae5a8c2d178501bc > > What can I do to fix it ? (or to increase the number of PGs) > Not sure what's happening here, --debug-ms=1 might help shedding some light on the issue . In any case, currently you cannot just copy the rgw data pool, so even if you succeeded in doing that you'd end up with a problematic pool (bucket index won't work correctly). One solution is to use 'radosgw-admin pool add' on the new pool and 'pool rm' on the old pool. That will make it so that new buckets will get the new pool for data placement. For actually being able to migrate the pools, there's an opened issue #2366, which I think we have a relatively trivial fix, so I'll put it on the queue for 0.54. Yehuda -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html