Actions
Bug #58591
closedreport "Insufficient space (<5GB)" even when disk size is sufficient
% Done:
0%
Source:
Community (user)
Tags:
backport_processed
Backport:
quincy, pacific, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Description
ceph-volumes uses `/sys/block/<bdev>/size` field to judge whether a device has enough size (>= 5GiB).
The unit of this file is sector(=512 bytes), however, ceph-volume regards this value as byte by mistake.
if int(self.sys_api.get('size', 0)) < 5368709120:
It should be 5368709120 / sector size
ref. Rook's issue.
Certain disks skipped for being too small, when they are large enough.
https://github.com/rook/rook/issues/11474
software versions:
- Rook: v1.10.7
- Ceph: v17.2.5
Actions