Re: Large BTRFS array suddenly says 53TiB Free, usage inconsistent

Joshua Villwock
2021-11-14T19:35:16Z

> On Nov 14, 2021, at 11:16 AM, Holger Hoffstätte <holger@applied-asynchrony.com> wrote:
>
> ﻿On 2021-11-14 19:45, Max Spliethöver wrote:
>> Hello everyone. I observed the exact same behavior on my 2x4TB RAID1.
>> After an update of my server that runs a btrfs RAID1 as data storage
>> (root fs runs on different, non-btrfs disks) and running `sudo btrfs
>> filesystem usage /tank`, I realized that the "Data ratio" and
>> "Metadata ratio" had dropped from 2.00 (before upgrade) to 1.00 and
>> that the Unallocated space on both drives jumped from ~550GB to
>> 2.10TB. I sporadically checked the files and everything seems to be
>> still there.
>> I would appreciate any help with explaining what happened and how to
>> possibly fix this issue. Below I provided some information. If
>> further outputs are required, please let me know.
>> ```
>> $ btrfs --version
>> btrfs-progs v5.15
> ---------------^^
>
> https://github.com/kdave/btrfs-progs/issues/422
>
> Try to revert progs to 5.14.x.
>
> cheers
> Holger

I can also report that I am on btrfs-progs v5.15 as well.

I can also confirm that btrfs-progs was updated precisely when the issue began happening.

Thanks, I will test reverting later, and maybe provide more details on the github issue if that makes sense.

—Joshua Villwock