Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#49761 - [bcache]

Attached to Project: Arch Linux
Opened by Leonhard (dercolamann) - Saturday, 18 June 2016, 11:37 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 18 June 2016, 14:03 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Bcache seems to get the block size wrong.
If I set up bcache like this:
sudo make-bcache --block 4k --bucket 2M --wipe-bcache -C /dev/sda5
sudo make-bcache --block 4k --bucket 2M --wipe-bcache -B /dev/sdb2
echo <cset UUID of sda5> > /sys/block/bcache0/bcache/attach

cat /sys/block/bcache0/bcache/state
gives me 'no cache'

dmesg gives (also when booting):
[ 2.122259] bcache: register_cache() registered cache device sda5
[ 2.141082] bcache: register_bdev() registered backing device sdb2
[ 2.141084] bcache: bch_cached_dev_attach() Couldn't attach sdb2: block size less than set's block size

blockdev --getbsz /dev/sda
and
blockdev --getbsz /dev/sdb
give both 4096

Additional info:
Kernel: 4.5.4-1-ARCH
bcache-tools version: 1.0.8-1
Normal udev configuration
Both devices have GPT tables (UEFI system)
Hard drive is a Western Digital (2TB), SSD is a Samsung EVO 750

Steps to reproduce:
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 18 June 2016, 14:03 GMT
Reason for closing:  Not a bug
Additional comments about closing:  "make-bcache" is not in the repos.

Loading...