Btrfs - how much free space do I have?
I've been reading a lot about Btrfs and I know that calculating free space in it "is complicated," but note that this is a very new file system where no snapshots have ever been made. The problem is that 'df -h' and 'btrfs filesystem usage' give me different numbers:
Code:
# df -h |
Quote:
device size minus allocated = 34.30 - If I understand this is space not allocated for use. allocated minus used = 10.25G, which if added to the unallocated equals the "estimated" free space |
Quote:
Where does that 10.25GB come from? There is no mention of 10.25GB whatsoever and I can't see how it could come out of any calculation. I am confused about Btrfs, but I trust 'df.' Yes, I know, df can't really handle Btrfs, but... Code:
# df -h You see, I get 34GB free in EXT4 and 40GB in XFS. Same exact data. Btrfs says I have either 43GB or 34GB of free space — because I can't read the information correctly. Between 43GB and 34GB, I couldn't decide whether Btrfs is so space efficient that it will give me as much as 43GB of free space or rather it will give me as little as 34GB because its journaling is so heavy. And you tell me I only have 10.25GB! Why? :confused: |
What is your lsblk and lsblk -f and fdisk -l output?
|
All times are GMT -5. The time now is 12:21 AM. |