-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
cannot mount bcachefs from lvm raid0 device #313350
Comments
Is it an encrypted setup? Can you try it with the updated upstream patch? Test for both master and 1.7.0 branch |
No, unencrypted. Will give the patch a try... Thanks! |
Well, the patch doesn't make a difference, but that's ok because just building it from master at kentoverstreet/bcachefs-tools works fine. If I was a betting man I'd guess the issue is fixed by one of the udev-related commits from 7 May. It also gets rid of all the annoying warnings about not finding bcachefs superblocks as it walks the device tree. Thanks for the pointers, I guess this will be fixed once nixpkgs gets bcachefs-tools 1.7.1? |
So as I understand it, it is working on the bcachefs master branch, with or without the patch? |
Yes, that's correct. Using the following overlay to my nixpkgs causes everything to work as expected: final: prev: { bcachefs-tools = inputs.bcachefs-tools.packages.${prev.system}.bcachefs; } with: inputs.bcachefs-tools.url = "github:koverstreet/bcachefs-tools"; and this in my "bcachefs-tools": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs",
"utils": "utils"
},
"locked": {
"lastModified": 1715290148,
"narHash": "sha256-ZmkeYPiCy7vkXnMFbtUF4761K+I+Ef7UbmSY7dJG09U=",
"owner": "koverstreet",
"repo": "bcachefs-tools",
"rev": "3ac510f6a41feb1b695381fa30869d557c00b822",
"type": "github"
},
"original": {
"owner": "koverstreet",
"repo": "bcachefs-tools",
"type": "github"
}
}, |
I am motivated to open #313424, as we don't want to ship a broken bcachefs-tools on 24.05. Please do test the PR. |
Moved temporarily to unstable to fix NixOS#313350 Also vendor the updated patch for NixOS#309388 from koverstreet/bcachefs-tools#263
Moved temporarily to unstable to fix #313350 Also vendor the updated patch for #309388 from koverstreet/bcachefs-tools#263
Moved temporarily to unstable to fix #313350 Also vendor the updated patch for #309388 from koverstreet/bcachefs-tools#263 (cherry picked from commit 1037866)
Moved temporarily to unstable to fix NixOS#313350 Also vendor the updated patch for NixOS#309388 from koverstreet/bcachefs-tools#263
Describe the bug
I have an LVM setup, and I've been trying out bcachefs by using it as scratch space (since it's stuff I don't mind losing) on an LVM RAID0 volume with 4 stripes. Since #304761 updated
bcachefs-tools
to 1.7.0 I can't mount this, but switching back to a previous generation withbcachefs-tools
1.4.1 or usingbcachefs-tools
1.3.3 from nixos-23.11 lets me mount it just fine. Using a linear volume instead also works fine.Steps To Reproduce
Steps to reproduce the behavior:
-t raid0 --stripes 2
Running
bcachefs mount
with-v
results in:Expected behavior
Should mount correctly. Output from bcachefs-tools 1.3.3:
Additional context
I don't know enough about Linux FS implementations, but suspect it might be an instance of koverstreet/bcachefs-tools#260
Notify maintainers
@davidak @JohnRTitor @Madouura
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: