Project

General

Profile

Bug #13278

ceph-disk fails with bcache as data disk

Added by Peter Sabaini over 3 years ago. Updated over 1 year ago.

Status:
Need Review
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
09/29/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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 3 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 1 year ago

  • Status changed from New to Need Review
  • Assignee set to Peter Sabaini

Also available in: Atom PDF