Bug #11500
Crush map cannot handle OSD weights smaller than 0.01
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The crush map cannot handle OSD weights smaller than 0.01 . This corresponds to usable (not including journal) space of 10 GB. Anyone using a block device with capacity less than ~15 GB will have a broken OSD (assuming journal is ~ 5 GB).
The workaround is to manually set the weight:
ceph osd crush reweight osd.<id> <weight>
Until this is fixed the documentation should at least mention it here:
Associated revisions
init-ceph, ceph-osd-prestart: set osd weight with more precision
Our fixed point weights can go down to .0001 -- allow that.
Fixes: #11500
Signed-off-by: Sage Weil <sage@redhat.com>
History
#1 Updated by Sage Weil almost 9 years ago
- Status changed from New to Fix Under Review
- Source changed from other to Community (user)
- Regression set to No
#2 Updated by Sage Weil almost 9 years ago
- Status changed from Fix Under Review to Resolved