question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ceph-mds: cephfs filesystems does not support erasure coded pools

See original GitHub issue

For 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:6

github_iconTop GitHub Comments

1reaction
kwaegemacommented, Feb 4, 2020

this should work now?

0reactions
tmartinxcommented, Jan 15, 2021

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 setting ec_overwrites for each pool after ceph-ansible, which is no big deal actually… =P

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found