Am 24.09.2013 12:24, schrieb Joao Eduardo Luis:
I believe that at the moment you'll only be able to have that flag set on a pool at creation time, if 'osd pool default flag hashpspool = true' on your conf. I just updated my config like this: [osd] osd journal size = 100 filestore xattr use omap = true auth cluster required = cephx auth service required = cephx auth client required = cephx osd min pg log entries = 1000 osd max pg log entries = 3000 osd pool default flag hashpspool = true cephx require signatures = true Then I created a new pool using "ceph osd pool create test 8" but the flag is not set: pool 26 'test' rep size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 8 pgp_num 8 last_change 434 owner 0
Ok, that's bad news. I just searched for a method to copy a complete pool and found this issue http://tracker.ceph.com/issues/2666 It's in state resolved, but there's no command to copy a pool in the latest command line utils? So I wonder what's the best/ easiest way to copy all objects from one pool to another (I'll make sure there's no write activity on source while copy is in progress). Corin |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com