Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant set durability to 3 #785

Open
alfrenovsky opened this issue Nov 21, 2024 · 0 comments
Open

Cant set durability to 3 #785

alfrenovsky opened this issue Nov 21, 2024 · 0 comments

Comments

@alfrenovsky
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant