25.7 ZFS 压缩
查看 FreeBSD 14 默认的压缩格式:
# zfs get compression
NAME PROPERTY VALUE SOURCE
zroot compression lz4 local
zroot/ROOT compression lz4 inherited from zroot
zroot/ROOT/default compression lz4 inherited from zroot
zroot/home compression lz4 inherited from zroot
zroot/home/ykla compression lz4 inherited from zroot
zroot/tmp compression lz4 inherited from zroot
zroot/usr compression lz4 inherited from zroot
zroot/usr/ports compression lz4 inherited from zroot
zroot/usr/src compression lz4 inherited from zroot
zroot/var compression lz4 inherited from zroot
zroot/var/audit compression lz4 inherited from zroot
zroot/var/crash compression lz4 inherited from zroot
zroot/var/log compression lz4 inherited from zroot
zroot/var/mail compression lz4 inherited from zroot
zroot/var/tmp compression lz4 inherited from zroot换成 zstd 试试:
# zfs set compression=zstd-5 zroot重启后查看:
查看实际压缩率:
最后更新于
这有帮助吗?