4 ms·
Does btrfs support native encryption?
by sandreas 3y ago
Does btrfs support native encryption?
- antongribok 3y agoBtrfs does not have native encryption. I use LUKS / dm-crypt on entire drive partitions. Did that with ZFS too, and by the time ZFS got this feature I was already planning my migration to btrfs. I like encrypting with LUKS, because I can have a drive configured with mine and my wife's password. Either one of us can take that drive, plug it in, and Gnome will put a nice graphical prompt asking for a password, then decrypt the drive and mount the filesystem. If I get hit by a bus, LUKS makes it much easier for my family to get access to important data without having to have that data sit around somewhere in plaintext.
- ikiris 3y agoits also had many data loss / corruption issues, and still looks to be scary for years to come.
- antongribok 3y agoI've never had data loss with either ZFS or btrfs. For me on Fedora, uptime is better and maintenance overhead is lower on btrfs.
- gmokki 3y agoIt is coming: https://lwn.net/ml/linux-fsdevel/cover.1701468305.git.josef@toxicpanda.com/ https://lwn.net/ml/linux-fsdevel/cover.1701468305.git.josef@... The kernel fscrypt layer just needed a lot of refactoring first to support cow filesystems.