bcachefs icon indicating copy to clipboard operation
bcachefs copied to clipboard

Cant set durability to 3

Open alfrenovsky opened this issue 1 year ago • 0 comments

I want 3 replicas and I have an NVME for foreground writing.

If I set the NVME durability to 1 using: echo 1 > /sys/fs/bcachefs/*/dev-3/durability the foreground uses the NVME and two mechanical drivers

If I set durability to 2 it uses the NVME and one mechanical drive. if I set durability to 3 it uses the NVME and two mechanical drives. Algo cat /sys/fs/bcachefs/*/dev-3/durability returns me 1

Also found other inconsistencies. echoing 0 to durability and then catting returns me 0 echoing 1 returns me 1 2 -> 2 3 -> 1 4 -> 0 5 -> 1 6 -> 2 7 -> 1

dmesg shows me bcachefs driver version 1.12 bachefs version shows me command line tool 1.13.0

alfrenovsky avatar Nov 21 '24 18:11 alfrenovsky