1. Installed Focal
2. wipefs two devices: one cache and one backing
3. Setup a cache device on a nvme drive (/dev/nvme0n1p1)
4. Setup a backing device a hdd partition (/dev/sdb1)
5. Create a cache setup: sudo make-bcache -B /dev/sdb1 -C /dev/nvme0n1p1
6. Enable proposed and install latest sosreport
7. Generate report with sosreport -a --all-logs
# ls -l /dev/sdb1
brw-rw---- 1 root disk 8, 17 Feb 25 22:48 /dev/sdb1
# ls -l /dev/bcache0
brw-rw---- 1 root disk 252, 0 Feb 25 22:48 /dev/bcache0
# dpkg -l | grep sosreport
ii sosreport 4.0-1~ubuntu0.20.04.4 amd64 Set of tools to gather troubleshooting data from a system
VERIFICAION DONE
And FAILED for Focal.
1. Installed Focal
2. wipefs two devices: one cache and one backing
3. Setup a cache device on a nvme drive (/dev/nvme0n1p1)
4. Setup a backing device a hdd partition (/dev/sdb1)
5. Create a cache setup: sudo make-bcache -B /dev/sdb1 -C /dev/nvme0n1p1
6. Enable proposed and install latest sosreport
7. Generate report with sosreport -a --all-logs
# ls -l /dev/sdb1 20.04.4 amd64 Set of tools to gather troubleshooting data from a system
brw-rw---- 1 root disk 8, 17 Feb 25 22:48 /dev/sdb1
# ls -l /dev/bcache0
brw-rw---- 1 root disk 252, 0 Feb 25 22:48 /dev/bcache0
# dpkg -l | grep sosreport
ii sosreport 4.0-1~ubuntu0.
bcache module is loaded:
# lsmod | grep bcache
bcache 245760 3
crc64 16384 1 bcache
But generated sosreport doesn't contain the bcache stats.
Looking at the "verbose" output (-v option), bcache plugin isn't triggered at all on Focal.
The tests originally done (when submitting patches to upstream) still works with latest bcache.py on Bionic.