Project

General

Profile

Feature #823

osd: make FULL and NEAR_FULL configurable

Added by Wido den Hollander over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
OSD
Target version:
-
Start date:
02/21/2011
Due date:
% Done:

0%

Estimated time:
1.00 h
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.

History

#1 Updated by Greg Farnum over 8 years ago

  • Assignee set to Greg Farnum

#2 Updated by Greg Farnum over 8 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.

Also available in: Atom PDF