Comment 1 for bug 1514094

Revision history for this message
Blake Rouse (blake-rouse) wrote : Re: bcache setup fails in gmaas

The issue here is that curtin is not handling the ability for bcache to use the same cache device multiple times.

The command "make-bcache -B /dev/sda2 -C /dev/sdd1" failed because "/dev/sdd1" was already made a cache device. Curtin should check to see if "/dev/sdd1" was already made a cache device in a previous call. If so then it should not add the "-C /dev/sdd1" to the command.

Then curtin needs to take the created bcache device and attach it to the already created bcache cache set for that device.