When I used the graphical installer to install Debian 12, I chose full-disk encryption and the BTRFS filesystem instead of ext4 for the root partition. After finishing the installation, there's this line in /etc/fstab:
If I now want to enable BTRFS compression using the lzo algorithm, is it just a simple matter of adding "compress=lzo" to the /etc/fstab mount options as shown below, and rebooting?
Is there anything else I need to do before I reboot? I am concerned about corrupting the existing data, or being unable to boot my computer. I have backups, but restoring backups is just time-consuming.
Code:
/dev/mapper/cake--vg-root / btrfs defaults,subvol=@rootfs 0 0
Code:
/dev/mapper/cake--vg-root / btrfs defaults,compress=lzo,subvol=@rootfs 0 0
Statistics: Posted by logitu — 2024-01-24 06:06 — Replies 2 — Views 99