Btrfs as root filesystem?

(john) #1

How to deal with swap (btrfs does not support swap files)? The partition size calculation is too naive for situations where experienced users use to import few hundred GB of uncompressable data. A better approach would be to already use btrfs to create the tmpfs since then a ‘btrfs filesystem df’ could be used to calculate the size of an ext4 rootfs while we could use the compressed size 1:1 for creating partitions. On the other hand this use case is very special and experienced users could make use of a fixed image size in such situations How to deal with snapshots? Creating an initial ‘release’ snapshot seems like a good idea to me. Also installing ‘apt-btrfs-snapshot’ on Xenial by default is worth a consideration IMO Please help. Thanks! I didn’t find the right solution from the Internet. References:

startup animation explainer