Skip to main content

Creating 4+2 Erasure Code Pool

Create the pool and EC Profile

  1. Create pool from ceph dashboard Screenshot

  2. Create new Erasure code profile

Screenshot

  1. ceph dashboard will say placement groups incomplete

Edit the Crushmap

  1. sudo ceph osd getcrushmap -o compiled
  2. sudo crushtool -d compiled -o decompiled
  3. sudo nano decompiled
  4. Change these two lines

Screenshot

  1. sudo crushtool -c decompiled -o new1
  2. sudo ceph osd setcrushmap -i new1

Check ceph dashboard to make sure the pool is healthy and has the correct size.