Hi Cephers,

I am tuning the pg numbers of my OpenStack pools.

As everyone knows, the pg number of a pool can not be decreased, so I came up 
with an idea to copy my pools to new pools with lower pg_num and then delete 
the original pool.

I execute following commands:

rados cppool volumes new-volumes
rados cppool images new-images
ceph osd pool rm volumes volumes --yes-i-really-really-mean-it
ceph osd pool rm images images --yes-i-really-really-mean-it
ceph osd pool rename new-volumes volumes
ceph osd pool rename new-images images

But after that, when I want to query the usage of volumes by `rbd -p volumes 
du`, it returns a mass of error messages like

2016-11-20 08:01:47.126068 7fa8337fe700 -1 librbd::image::OpenRequest: failed 
to retreive name: (2) No such file or directory
2016-11-20 08:01:47.126119 7fa832ffd700 -1 librbd::image::RefreshParentRequest: 
failed to open parent image: (2) No such file or directory
2016-11-20 08:01:47.126135 7fa832ffd700 -1 librbd::image::RefreshRequest: 
failed to refresh parent image: (2) No such file or directory
2016-11-20 08:01:47.126150 7fa832ffd700 -1 librbd::image::OpenRequest: failed 
to refresh image: (2) No such file or directory

I think it may be caused by the change of "images" pool id, right?

Is it possible to re-reference the rbds in "volumes" on new "images" pool? Or 
is it possible to change or specify the pool id of new pool?

Any suggestions are very welcome. Thanks

Sincerely,
Craig Chi (Product Developer)
Synology Inc. Taipei, Taiwan.



_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to