this post was submitted on 07 Oct 2024
22 points (92.3% liked)

Linux

8149 readers
73 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
 

So recently it was brought to my attention about a new(ish) filesystem being created. BcacheFS has some really cool features, some for example are

Copy on write (COW) - like zfs or btrfs
Full data and metadata checksumming
Multiple devices
Replication
Erasure coding (not stable)
Caching, data placement
Compression
Encryption
Snapshots
Nocow mode
Reflink
Extended attributes, ACLs, quotas
Scalable - has been tested to 100+ TB, expected to scale far higher 
High performance, low tail latency
Already working and stable, with a small community of users

I learned about BcacheFS as i am currently going through an Gentoo install and wanted to try out a new filesystem. i originally went for ZFS until i learned there is no active maintainer for OpenZFS on Gentoo as of now. and looked at Btrfs and eventually found BcacheFS. The features look very amazing, however i couldnt find many people daily driving it? i saw a few posts on Arch wiki about trying to get it to work. and i try installing it, as my main FileSystem, but ran into trouble when trying to install grub. its exact complaints was something along the lines of "cant install grub on /dev/sdc3 /dev/sdd ". i was trying to make staggered storage with a 500gb SSD and a 2TB HDD. But eventually gave up after watching a few videos of immolo which he eventually got it working but only thought Unified grub with Systemd. which for my Gentoo systems i really prefer openRC. But enough about me, do any of you fellow linux users use BcacheFS? if so whats your setup and experiences?

also if you have recently looked at lore.kernel.org Mr.Torvald says he regrets merging it into the mainline kernel because of bug fixes. https://lore.kernel.org/lkml/CAHk-=wj1Oo9-g-yuwWuHQZU8v=VAsBceWCRLhWxy7_-QnSa1Ng@mail.gmail.com/ which i thought rather interesting

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 month ago (1 children)

Let me quote the Wikipedia page.

Bcachefs describes itself as "working and stable, with a small community of users". When discussing Linux 6.9-rc3 on April 7, 2024, Linus Torvalds touched on the stability of bcachefs, saying "if you thought bcachefs was stable already, I have a bridge to sell you", and in August of 2024 that "nobody sane uses bcachefs and expects it to be stable".

It's been being for a long time. It finally got merged to mainline in Linux 6.7. Sounds like they started a lot of renovations after that. It's still a bit too much in motion for me to consider it.

Performance and features look promising. I'll revisit in 2030 if things have calmed down and they still have maintainers.

I've been running btrfs for 14 years. It has similar features and a proven track record. It doesn't move as fast. That's a good thing for a filesystem.

[–] [email protected] 1 points 1 month ago (2 children)

For what it's worth, Kent said they plan to drop the experimental flag next year.

[–] [email protected] 16 points 1 month ago (1 children)

It might not even be in the kernel next year if Kent doesn't stop ticking off Linus.

[–] [email protected] 8 points 1 month ago* (last edited 1 month ago)

He also planned to have BcacheFS merged to mainline in 2018. Finally got it merged in 2023 (released in 2024).

Development will likely slow down a bit when things require more review, discussion and scrutiny now that it's mainlined.

[–] [email protected] 14 points 1 month ago

Its features hold a lot of promise, but it is very new and not what I would consider stable yet. I wouldn't suggest using it to store anything that you care about until the dust has settled. That will most likely be months from now; maybe years.

[–] [email protected] 8 points 1 month ago (1 children)

I wanted BcachsFS to succeed. ATM it looks like it to unstable for production use.

I hope the BcachsFS have a module layout so other FS can use a well integrated and intelligent caching.

https://www.phoronix.com/news/Bcachefs-Fixes-Two-Choices https://www.phoronix.com/news/Linus-Torvalds-Bcachefs-Regrets

[–] pastermil 1 points 1 month ago (1 children)

Thought bcache is already a thing

[–] [email protected] 1 points 1 month ago

Yes it is.

Sadly its a hammer for a task that need a scalpel.

[–] [email protected] 4 points 1 month ago

If you don’t know what you want to do with bcachefs, don’t use it.