Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Leszek Dubiel <leszek@dubiel.pl>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: 97% full system, dusage didn't help, musage strange
Date: Tue, 17 Dec 2024 22:44:01 +0100	[thread overview]
Message-ID: <c4a2c262-4701-4507-be4a-db90b893bd7b@dubiel.pl> (raw)
In-Reply-To: <a6a641f6-b0a1-4915-912a-638cc07eba88@suse.com>

>
> You need something procedure like this:
>
> start:
>     if (unallocated space >= 8GiB)
>         return;
> check_usage_percentage:
>     if (no block group has usage percentage < 30%) {
>         delete_files;
>         goto check_usage_percentage;
>     }
>     balance dusage=30
>     goto start;
>
> Although there are some concerns, firstly the tool, sorry I didn't 
> remember the name but there is an out-of-btrfs-progs tool can do 
> exactly that.


Thank you for hints. I'll search for that program and try it.





  reply	other threads:[~2024-12-17 21:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-14 17:55 97% full system, dusage didn't help, musage strange Leszek Dubiel
2024-12-14 18:35 ` Roman Mamedov
2024-12-14 18:47 ` Andrei Borzenkov
2024-12-14 20:13   ` Leszek Dubiel
2024-12-14 21:14     ` Qu Wenruo
2024-12-16 17:12       ` Leszek Dubiel
2024-12-16 21:01         ` Qu Wenruo
2024-12-17 21:44           ` Leszek Dubiel [this message]
2025-01-03 22:52           ` Leszek Dubiel
2025-01-04  5:32             ` Andrei Borzenkov
2025-01-04  7:11               ` Leszek Dubiel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4a2c262-4701-4507-be4a-db90b893bd7b@dubiel.pl \
    --to=leszek@dubiel.pl \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox