Fix #41782
closedmds: allow stray directories to fragment and switch from 10 stray directories to 1
0%
Description
Stray directories can become too full which can result in unexpected ENOSPC errors. See for example, #41778.
Evaluate whether it's feasible to allow fragmentation on strays. It is probably a conservative barrier erected for when fragmentation wasn't considered stable (pre-luminous). The use of 10 stray directories was a workaround. Using only 1 with fragmentation is much simpler.
Files
Updated by Patrick Donnelly over 4 years ago
- Related to Bug #41778: 'No space left on device' due to snapshots added
Updated by Milind Changire over 4 years ago
- File out.tar.bz out.tar.bz added
please see attachment out.tar.bz which includes ceph.conf as to why `ceph status` command hangs on Fedora 30 laptop.
Updated by Patrick Donnelly over 4 years ago
Milind Changire wrote:
please see attachment out.tar.bz which includes ceph.conf as to why `ceph status` command hangs on Fedora 30 laptop.
perhaps it's because you aren't running "bin/ceph status"? Is ceph also installed on your system using Fedora packages?
Updated by Milind Changire over 4 years ago
Patrick Donnelly wrote:
Milind Changire wrote:
please see attachment out.tar.bz which includes ceph.conf as to why `ceph status` command hangs on Fedora 30 laptop.
perhaps it's because you aren't running "bin/ceph status"? Is ceph also installed on your system using Fedora packages?
this wasn't the case
I had a /etc/ceph/ceph.conf along with build/ceph.conf
Zheng pointed this case to me and it indeed being the case, my vstart cluster started working normally after I removed /etc/ceph/ceph.conf
Updated by Milind Changire over 4 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 31521
Update:
Stray dirs are not being dropped from 10 to 1. Zheng recommended having more stray dirs.
Only fragmentation on stray dirs is being enabled with this PR.
Updated by Patrick Donnelly over 4 years ago
- Target version changed from v15.0.0 to v16.0.0
We'll look at merging this at the beginning of Pacific release cycle.
Updated by Patrick Donnelly over 3 years ago
- Status changed from Fix Under Review to Resolved
- Assignee deleted (
Milind Changire) - Pull request ID changed from 31521 to 33479
Updated by Patrick Donnelly over 1 year ago
- Related to Feature #58193: mds: remove stray directory indexes since stray directory can fragment added