Re: how to set flag on pool

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

 



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


Also found issue #5614 [1], which hasn't seen any work as far as I can tell, that would allow what you're after.

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

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux