Re: btrfs thinks fs is full, though 11GB should be still free

Christoph Anton Mitterer
2023-12-11T23:39:07Z

On Tue, 2023-12-12 at 09:50 +1030, Qu Wenruo wrote:
> Shows exactly which subvolumes uses how many bytes, including orphan
> ones which is pending for deletion.

Well... here we go:
# btrfs qgroup show .
Qgroupid Referenced Exclusive Path
-------- ---------- --------- ----
0/5 16.00KiB 16.00KiB <toplevel>
0/257 39.48GiB 39.48GiB data
0/258 16.00KiB 16.00KiB <stale>
0/259 16.00KiB 16.00KiB a
0/260 16.00KiB 16.00KiB b
1/100 32.00KiB 32.00KiB <0 member qgroups>
1/101 0.00B 0.00B <0 member qgroups>

I've just created a and b to get qgroup (somehow? ^^) working.

Nevertheless:
I'm 100% sure, that before, there were never any subvolumes on that fs
other than the toplevel and data, unless btrfs somehow creates/deletes
them automatically.

But the above output, AFAIU, still shows that "everything" is in data,
while counting the bytes of files there, still yields a much lower
number.

And other ideas what I could test?

Thanks,
Chris.