I'm looking to see if I can submit a patch to fix this, but it seems like the durability bit field for devices may be only 2 bits, is that right?
--- previous thread follows (sorry my mail client doesn't quote everything in the usual mailing list style. If that's preferable let me know, but it's a chore to format things correctly using my phone --- > Hey Kent, > > I reported an issue on Reddit with bcachefs, attempting to set durability > 1 > on an additional device in the pool. Not having the best luck! > > https://www.reddit.com/r/bcachefs/comments/1lbpxvs/unable_to_set_durability_on_new_devices_segfault/ > > It looks like Fedora 42 is still on 6.14, so maybe this is fixed with > a kernel bump or a new version of the tools? I hope so - would really > like to make use of it for a tiered array. It's a tools bug. Check if it's still happening with the latest tools, and if it is I'll have a look. Durability needs to be changed via sysfs, we don't have a commandline tool for setting device options (and I suppose we should, for consistency). Also, reddit's been working out surprisingly well for bug reports, since it's the place that gets the most engagement from users. Bug tracker is still good for things that need to be filed so they don't get lost, but it's been a pleasant surprise :)
