I have a btrfs partition. When I run
df -h, it shows:
Filesystem Size Used Avail Use% Mounted on /dev/sda2 113G 101G 8.3G 93% /home
From Why is that? Is it because reserved space for root as wth ext2/3/4? Or is it something else? If the former, how can I change it and reclaim those 4GB ?
As per btrfs wiki, I know that metadata are stored twice which inflates the size of "Used" data:
user@machine:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda1 894G 311G 583G 35% / ^^^^ user@machine:~$ btrfs fi df / Metadata: total=18.00GB, >>used=6.10GB<< *2= 12.20GB Data: total=358.00GB, >>used=298.37GB<< *1= 298.37GB System: total=12.00MB, >>used=40.00KB<< *1= 0.00GB == 310.57GB ~~ 311 GB
But this still does not explain why Used + Avail < Size.