Subtask #7158

Feature #4929: Erasure encoded placement group

EC: flesh out how the ceph tool should be used to manage ec pools and create sub tasks for doing it

Added by Samuel Just about 6 years ago. Updated about 6 years ago.

Target version:
% Done:


Affected Versions:
Pull request ID:


Not sure how much of this has been handled already.

Related issues

Related to Ceph - Subtask #7146: implement osd crush rule create-erasure Resolved 01/14/2014


#1 Updated by Samuel Just about 6 years ago

  • Assignee set to Joao Eduardo Luis

#2 Updated by Ian Colle about 6 years ago

  • Target version changed from v0.76a to v0.76b

#3 Updated by Loic Dachary about 6 years ago

  • Parent task set to #4929

#4 Updated by Joao Eduardo Luis about 6 years ago

Loic pointed out that there's already support to create pools via the ceph tool

Unless I'm misunderstanding the task, this should cover the creation part.

wrt the management part of the task, it seems that nothing can be changed once the pool is create, hence why this is specified on pool creation.

What however appears to be missing is transpiring the pool creation parameters to the user on lspools, although Loic tells me that they're already shown on pool dump.

#5 Updated by Sage Weil about 6 years ago

  • Source deleted (other)

i think pool creation is all there. the create-pyramid rule we can treat separately, i think!

but... should we have a create-erasure command?

#6 Updated by Ian Colle about 6 years ago

  • Assignee changed from Joao Eduardo Luis to Loic Dachary
  • Priority changed from Normal to Urgent

#7 Updated by Loic Dachary about 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • translation missing: en.field_remaining_hours set to 0.0 was created and implemented. There does not seem to be a need for more tools.

Creating a pool is done with the (already modified) ceph osd pool create command. Erasure coded crush rulesets can either be created manually ( the indep behavior was adapted to match the needs of erasure coded pools ) or with the rule create-erasure command which is more convenient from the sysadmin point of view. Chosing the right erasure code plugin and the parameters to configure it is done through the pool properties if fine grain control is needed. Some operations are not available for erasure coded pools ( omap family ) and the user facing interface is an EINVAL error rather than a new command.

Also available in: Atom PDF