ceph-disk fails with bcache as data disk
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.
#1 Updated by Simon Elmir over 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.