Bcachefs
Jump to navigation
Jump to search
Bcachefs is a spinoff from the bcache project whose idea is to allow for using SSDs or NVMs for caching slower storage as of that of spinning drives. Bcachefs builds on top of bcache, sharing 80% of its code, creating a new copy-on-write filesystem comparible with ZFS and Btrfs, allowing for snapshot, encryption, sending/receiving data, full checksumming of all data and metadata. As of writing (2012-12-24), bcachefs is in early development and requires recompiling a patched kernel on a newer distro version. According to the bcachefs-tools' INSTALL document, the current distros (or later) are recommended
- Debian Buster
- Ubuntu 20.04
- Fedora (bleeding edge)
- Arch: install bcachefs-tools-git from the AUR
This is a quick run-though for setting up Bcachefs on Debian Buster and lists what you'll need.
Installation
- Grab the latest debian buster iso (currently alpha) and install it somewhere.
- Upgrade to the newest packages and install the stuff needed to compile new kernel.
# apt update # apt dist-upgrade # apt install -y pkg-config bc bison build-essential flex libaio-dev libblkid-dev \ libelf-dev libkeyutils-dev liblz4-dev libscrypt-dev libsodium-dev libssl-dev \ liburcu-dev libzstd-dev ncurses-dev uuid-dev valgrind zlib1g-dev