[pve-devel] [PATCH manager 0/5] Ceph add basic erasure code pool mgmt support
Aaron Lauterer
a.lauterer at proxmox.com
Thu Apr 28 13:58:04 CEST 2022
The first patch is one that we should have added when we added basic
support for ec pools [0].
The rest adds basic support to manage erasure coded (EC) pools. When
adding an EC pool we need to define how many k and m chunks we want for
the ec profile. Optionally one can define the failure domain and device
class.
Or if there is already another ec profile that should be used, it can be
specified as well.
Since EC pools need a replicated pool that will hold metadata, we follow
the same approach we already have for cephfs pools and have one metadata
and one data pool.
A few prerequisites were added to Ceph::Tools.
More details in the actual patches.
changes since rfc:
change the approach by handling ec profiles automatically on pool
creation and cleaning up ec profiles and crush rules on pool
desctruction. The whole ec profile mgmt CLI has been dropped for now.
Aaron Lauterer (5):
api: ceph: $get_storages check if data-pool too
ceph tools: add erasure code management functions
ceph tools: add function to get pool properties
ceph tools: add destroy crush rule destroy function
ceph pools: allow to create erasure code pools
PVE/API2/Ceph/Pools.pm | 129 ++++++++++++++++++++++++++++++++++++++---
PVE/Ceph/Tools.pm | 83 +++++++++++++++++++++++++-
2 files changed, 201 insertions(+), 11 deletions(-)
--
2.30.2
More information about the pve-devel
mailing list