On Tue, 29 Apr 2025 14:20:48 +0200 Matteo Valsasina <mat...@valsasina.com> wrote: > If i can ask, what are the advantages and/or use cases of btrfs on a > guix system? You basically get the advantages of btrfs.
In my case I've a triple boot on my main laptop (Guix, PureOS and Trisquel), and these are inside the same BTRFS filesystem on different subvolumes. So the free space is shared between these distributions. This probably saves space and avoids spending too much time increasing the LVM volumes size of the distributions. In addition cp --reflink=always is super fast with BTRFS, but I've no idea if BTRFS+deduplication really saves space compared to an ext4 filesystem. I don't think this cp --reflink=always work between different subvolumes though. If you use a server with ext4 you need to reboot from time to time in order to do an fsck at boot. With BTRFS you don't need to do that, there is still some maintenance needed (like btrfs balance) but it can be done while booted. However given how stable ext4 is, I ended up using ext4 for my precious data and BTRFS for the rest. Since BTRFS has many features, other people might find other of its feature important, so it really depends on your use cases. Denis.
pgp9mGoQfKTRK.pgp
Description: OpenPGP digital signature