root@basement:~# compsize -x /LACIE/
Processed 2598 files, 166519 regular extents (201597 refs), 17 inline, 171631 fragments.
Type Perc Disk Usage Uncompressed Referenced
TOTAL 99% 985G 989G 738G
none 100% 984G 984G 733G
zstd 24% 1.3G 5.4G 5.4G
root@basement:~# sudo btrfs filesystem defragment -r -czstd /LACIE/
root@basement:~#
root@basement:~# compsize -x /LACIE/
Processed 3383 files, 3238851 regular extents (3246849 refs), 18 inline, 306995 fragments.
Type Perc Disk Usage Uncompressed Referenced
TOTAL 85% 765G 892G 892G
none 100% 663G 663G 663G
zstd 44% 101G 228G 228G
root@basement:~# mount | grep LACIE
/dev/sda on /LACIE type btrfs (rw,relatime,compress=zstd:3,space_cache=v2,subvolid=5,subvol=/)
root@basement:~# df -H /LACIE
Filesystem Size Used Avail Use% Mounted on
/dev/sda 2.1T 826G 1.2T 42% /LACIE
root@basement:~#
Worried about escalating storage costs?
We so got you covered. 🤣
#btrfs #unix #linux