A next-gen CoW filesystem enters the mainline
Monitoring and Maintenance
Running bcachefs day-to-day involves the usual monitoring you'd do for any filesystem. Check dmesg
or syslog
for bcachefs errors because the kernel will log if it encounters checksum mismatches or I/O errors on a device. Use the bcachefs fsck
in read-only mode to scrub the filesystem periodically. Especially if you have replication similar to a ZFS scrub or Btrfs scrub, this will read all data and verify checksums – bcachefs can then repair any mismatches by using the redundant copy. The bcachefs user tools also provide commands such as bcachefs device stats
to check device health within the filesystem and bcachefs attach
/detach
to manage devices.
On Ubuntu systems, ensure you have the latest bcachefs-tools package if you're using a newer kernel than the default. Sometimes the userspace tools need to closely match the kernel module version. If you compiled your own kernel, you may also need to compile the tools from source to get the absolute latest features or bug fixes. It's also wise to run with CONFIG_BCACHEFS_DEBUG
disabled in production kernels because the upstream code has debug options that, when off, give better performance; distribution kernels will have these appropriately set for release builds.
Backup Strategy
Until bcachefs proves itself over more time, a conservative admin will treat it like any "RAID is not backup" scenario – do regular backups and/or use it initially for data that is reproducible or not mission-critical. Bcachefs does support send/receive in a rudimentary form to export sub-volumes or snapshots indirectly, though it's not as polished as ZFS send
or Btrfs send
yet. You might instead rely on higher-level backup tools (rsync
, Borg, zfs-send
via a different interim filesystem, etc.) to keep copies of data stored on bcachefs. The presence of snapshots, however, means you can make consistent backups even of Live data: Take a snapshot and then back that snapshot up without worrying about the data changing underneath.
Conclusion
Bcachefs represents the most ambitious new Linux filesystem in years, and it comes at a time when storage needs are as demanding as ever. It's pragmatic and administrator-friendly in design, borrowing the best ideas from predecessors and adding its own innovations (such as configuration-less tiering).
Infos
- bcachefs: https://bcachefs.org
- bcachefs in kernel 6.17: https://lwn.net/ml/all/xl2fyyjk4kjcszcgypirhoyflxojzeyxkzoevvxsmo26mklq7i@jw2ou76lh2py/
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
Linux Kernel 6.16 Reaches EOL
Linux kernel 6.16 has reached its end of life, which means you'll need to upgrade to the next stable release, Linux kernel 6.17.
-
Amazon Ditches Android for a Linux-Based OS
Amazon has migrated from Android to the Linux-based Vega OS for its Fire TV.
-
Cairo Dock 3.6 Now Available for More Compositors
If you're a fan of third-party desktop docks, then the latest release of Cairo Dock with Wayland support is for you.
-
System76 Unleashes Pop!_OS 24.04 Beta
System76's first beta of Pop!_OS 24.04 is an impressive feat.
-
Linux Kernel 6.17 is Available
Linus Torvalds has announced that the latest kernel has been released with plenty of core improvements and even more hardware support.
-
Kali Linux 2025.3 Released with New Hacking Tools
If you're a Kali Linux fan, you'll be glad to know that the third release of this famous pen-testing distribution is now available with updates for key components.
-
Zorin OS 18 Beta Available for Testing
The latest release from the team behind Zorin OS is ready for public testing, and it includes plenty of improvements to make it more powerful, user-friendly, and productive.
-
Fedora Linux 43 Beta Now Available for Testing
Fedora Linux 43 Beta ships with Gnome 49 and KDE Plasma 6.4 (and other goodies).
-
USB4 Maintainer Leaves Intel
Michael Jamet, one of the primary maintainers of USB4 and Thunderbolt drivers, has left Intel, leaving a gaping hole for the Linux community to deal with.
-
Budgie 10.9.3 Now Available
The latest version of this elegant and configurable Linux desktop aligns with changes in Gnome 49.