]> git.proxmox.com Git - pve-manager.git/commit
ceph pools: allow to create erasure code pools
authorAaron Lauterer <a.lauterer@proxmox.com>
Thu, 28 Apr 2022 11:58:09 +0000 (13:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Apr 2022 18:26:38 +0000 (20:26 +0200)
commit3bd128d7a0d724dbd5ff27fc63923a05ee04d66c
tree1d7c06f894c011d9a9e210d0bf34493d844161e5
parent34a2222dd8cf6b21c590cce444283e0b2fa8cadf
ceph pools: allow to create erasure code pools

To use erasure coded (EC) pools for RBD storages, we need two pools. One
regular replicated pool that will hold the RBD omap and other metadata
and the EC pool which will hold the image data.

The coupling happens when an RBD image is created by adding the
--data-pool parameter. This is why we have the 'data-pool' parameter in
the storage configuration.

To follow already established semantics, we will create a 'X-metadata'
and 'X-data' pool. The storage configuration is always added as it is
the only thing that links the two together (besides naming schemes).

Different pg_num defaults are chosen for the replicated metadata pool as
it will not hold a lot of data.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/API2/Ceph/Pools.pm
PVE/Ceph/Tools.pm