Creating an erasure-coded pool

Let's bring our test cluster up again and switch into super-user mode in Linux, so we don't have to keep prepending sudo to our commands.

Erasure-coded pools are controlled by the use of erasure profiles; these control how many shards each object is broken up into including the split between data and erasure shards. The profiles also include configuration to determine what erasure code plugin is used to calculate the hashes.

The following plugins are available to use:

  • Jerasure
  • ISA
  • LRC
  • Shingled Erasure Coding (SHEC)

To see a list of the erasure profiles, run the following command:

    # ceph osd erasure-code-profile ls

You can see there is a default profile in the fresh installation of Ceph:

Let's see what configuration ...

Get Mastering Ceph - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.