Project

General

Profile

Actions

Bug #13278

closed

ceph-disk fails with bcache as data disk

Added by Peter Sabaini over 8 years ago. Updated almost 3 years 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/

Actions #1

Updated by Simon Elmir over 8 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.

Actions #2

Updated by Kefu Chai almost 7 years ago

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

Updated by Sage Weil almost 3 years ago

  • Status changed from Fix Under Review to Closed
Actions

Also available in: Atom PDF