ceph-mds: cephfs filesystems does not support erasure coded pools
See original GitHub issueFor filesystems to use erasure coded pools, the data pool needs to be modified slightly.
ceph osd pool set ec_pool allow_ec_overwrites true
Describe the solution you’d like
This could be implemented in the deploy filesystem pools
block of create_mds_filesystems.yml as:
- name: customize pool for partial writes
command: "{{ container_exec_cmd | default('') }} ceph --cluster {{ cluster }} osd pool set {{ item.name }} allow_ec_overwrites true"
with_items: "{{ cephfs_pools | unique }}"
changed_when: false
when: item.type | default("1") == '3' or item.type | default("1") == 'erasure'
Describe alternatives you’ve considered
A explicit flag could be introduced into cephfs_pools.allow_ec_overwrites
that can be used to toggle this behavior. I don’t know why it shouldn’t always follow cephfs_pools.type == erasure
though.
Additional context
This might need to be tested with a fix to #4768 as it is unclear whether the cephfs_pools.type
is used correct.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6
Top Results From Across the Web
Create a Ceph file system
You may not use Erasure Coded pools as CephFS metadata pools, because CephFS metadata is stored using RADOS OMAP data structures, which EC...
Read more >Chapter 3. Deployment of the Ceph File System
The Ceph File System using erasure-coded pools is a Technology Preview feature. Technology Preview features are not supported with Red Hat production ...
Read more >11 Installation of CephFS - SUSE Documentation
CephFS quotas are not supported in SUSE Enterprise Storage, as support for ... new data pools may not be added to an existing...
Read more >pveceph(1) - Proxmox VE
Determines whether a ceph-mds daemon should poll and replay the log ... --add_storages <boolean> (default = 0; for erasure coded pools: 1).
Read more >Filesystem Storage Overview - Rook Ceph Documentation
The Rook operator will create all the pools and other resources necessary to start the service. This may take a minute to complete....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
this should work now?
I came across this issue while trying to figure out how to set
allow_ec_overwrites: true
to an erasure-coded pool. Doesn’t look that it’s available yet, I’m manually settingec_overwrites
for each pool afterceph-ansible
, which is no big deal actually… =P