Actions
Feature #823
closedosd: make FULL and NEAR_FULL configurable
% Done:
0%
Spent time:
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
FULL and NEAR_FULL are set in osd/osd_types.h:
#define CEPH_OSD_NEARFULL_RATIO .8 #define CEPH_OSD_FULL_RATIO .95
While 95% seems FULL, on a 2TB disk you still have 100GB left. On a 3TB disk you even have 150GB of space left.
I think it is up to the sysadmin to decide which values are acceptable. Make them configurable so we can choose.
Updated by Greg Farnum about 13 years ago
- Status changed from New to Resolved
Made these configurable via mon_osd_full_ratio and mon_osd_nearfull_ratio in 158889b2e4089db2361b7f61d6e2e2c134fa26d6.
For the future, it might be nifty to adjust how this is handled a little bit so you could set these ratios individually on each OSD rather than as a blanket over the whole cluster.
Actions