I've got a 64GB SSD and a 3TB hard drive in my system running Ubuntu 14.04. The SSD has a small root partition with rest of the device allocated to an LVM physical volume. From that LVM physical volume I have two logical volumes allocated, one for /usr and one for /root. (/home is on the 3TB hard drive.)
Since I had about 25GB of the SSD currently unused, I thought it would be interesting to try using it as a bcache cache device with /home as backing device.
I created a new logical volume using the remaining space on the LVM physical volume on the SSD. That left things looking like this:
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 VG4 lvm2 a-- 53.57g 0
/dev/sdb2 VG6 lvm2 a-- 2.69t 0
# lvs
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
VG4-usr VG4 -wi-ao--- 19.31g
VG4-var VG4 -wi-ao--- 9.31g
bcache VG4 -wi-ao--- 24.95g
home VG6 -wi-ao--- 2.69t
I then did:
# make-bcache -C /dev/mapper/VG4-bcache
The system immediately locked up completely. (So the above is a reconstruction, I don't have the actual command I executed any more.)
Did I do something stupid without realising it? Is this a supported configuration? I'm wondering if it's worth reporting this as a bug or not. Nothing appears to have been permanently harmed by the crash.