From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EFE9C2D0DB for ; Thu, 30 Jan 2020 23:12:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3FE832083E for ; Thu, 30 Jan 2020 23:12:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727520AbgA3XMh convert rfc822-to-8bit (ORCPT ); Thu, 30 Jan 2020 18:12:37 -0500 Received: from luna.lichtvoll.de ([194.150.191.11]:49559 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726514AbgA3XMh (ORCPT ); Thu, 30 Jan 2020 18:12:37 -0500 Received: from 127.0.0.1 (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.lichtvoll.de (Postfix) with ESMTPSA id 87D87A98A3; Fri, 31 Jan 2020 00:12:35 +0100 (CET) From: Martin Steigerwald To: Remi Gauvin Cc: linux-btrfs Subject: Re: With Linux 5.5: Filesystem full while still 90 GiB free Date: Fri, 31 Jan 2020 00:12:34 +0100 Message-ID: <1746386.HyI1YD2b7T@merkaba> In-Reply-To: <4b18e328-72fc-8167-d140-97c898c47e6a@georgianit.com> References: <112911984.cFFYNXyRg4@merkaba> <1887603.ctEADUaVB5@merkaba> <4b18e328-72fc-8167-d140-97c898c47e6a@georgianit.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Authentication-Results: mail.lichtvoll.de; auth=pass smtp.auth=martin smtp.mailfrom=martin@lichtvoll.de Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Remi Gauvin - 30.01.20, 22:20:47 CET: > On 2020-01-30 4:10 p.m., Martin Steigerwald wrote: > > I am done with re-balancing experiments. > > It should be pretty easy to fix.. use the metadata_ratio=1 mount > option, then write enough to force the allocation of more data > space,, > > In your earlier attempt, you wrote 500MB, but from your btrfs > filesystem usage, you had over 1GB of allocated but unused space. > > If you wrote and deleted, say, 20GB of zeroes, that should force the > allocation of metatada space to get you past the global reserve size > that is causing this bug,, (Assuming this bug is even impacting you. > I was unclear from your messages if you are seeing any ill effects > besides the misreporting in df.) I thought more about writing a lot of little files as I expect that to use more metadata, but… I can just work around it by using command line tools instead of Dolphin to move data around. This is mostly my music, photos and so on filesystem, I do not change data on it very often, so that will most likely work just fine for me until there is a proper fix. So do need to do any more things that could potentially age the filesystem. :) -- Martin