Today I was testing a new storage device (a Crucial 1 TB NVMe, 5x the read and write of my 7 year-old SATA SSD) and to make sure I could boot from it I did Lunar installs. I want to use zstd compression, and searches on how to do this from the beginning at install time could only find advice to do the install, turn on compression in /etc/fstab, restart or remount, and use btrfs defrag to rewrite every file.
However, I've found that by creating the btrfs before installing, mounting it somewhere, say /mnt/newvol, and running
and unmounting, the kubuntu installer with manual partition set up, did the install with zstd compression. It only saves about 30% of the space on root.
However, I've found that by creating the btrfs before installing, mounting it somewhere, say /mnt/newvol, and running
Code:
cd /mnt/newvol sudo btrfs property set . compression zstd
Comment