Project

General

Profile

Bug #13278

ceph-disk fails with bcache as data disk

Added by Peter Sabaini about 7 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph-disk detects bcache0 devices as full disks and subsequently tries to partition them; however this is not supported by bcache devices.

I believe that it would be sufficient if is_partition() would treat /dev/bcacheX devices special, ie. return True if coming across such a device. I can come up with a patch if there's interest.

[0] http://bcache.evilpiepirate.org/

History

#1 Updated by Simon Elmir about 7 years ago

I also encountered this issue. My workaround was to format and mount the bcache devices manually, then give ceph-disk the mountpoints instead of device names.
The workaround means we have to manage fstab on each server, and that's less than ideal (I didn't test autodetection of OSDs). It would be much more convenient if we could use the bcache devices directly.

#2 Updated by Kefu Chai over 5 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Peter Sabaini

#3 Updated by Sage Weil over 1 year ago

  • Status changed from Fix Under Review to Closed

Also available in: Atom PDF