btrfs에서 파일시스템 압축 + 자동 조각모음 설정하기
btrfs에서 파일시스템에서 제공하는 투명 압축을 쓰려고 합니다. mount와 defrag을 수동으로 설정하는 건 알겠는데요. defrag으로 기존 파일도 압축했습니다. 앞으로도 압축으 자동으로 적용되게 하려면 fstab을 건드려야 할 것 같네요. 어떻게 고치면 될까요? 아래에 /etc/fstab 붙입니다.
#################################################################################
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=672eeca7-5291-44dd-b0ae-1cc2d80e48cf / btrfs defaults,subvol=@ 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=2089-5B6E /boot/efi vfat umask=0077 0 1
# /home was on /dev/nvme0n1p2 during installation
UUID=672eeca7-5291-44dd-b0ae-1cc2d80e48cf /home btrfs defaults,subvol=@home 0 2