public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: <admiral@admiralbulli.de>
To: <linux-btrfs@vger.kernel.org>
Subject: BTRFS w/ quotas hangs on read-write mount using all available RAM - rev2
Date: Sun, 9 Oct 2022 13:03:34 +0200	[thread overview]
Message-ID: <133101d8dbce$c666a030$5333e090$@admiralbulli.de> (raw)

Dear btrfs team,
thanks for all your great work!
I have been running btrfs now for several years and really like the
robustness and ease of use!

Last week I experienced 99% the same thing as described here by Loren M.
Lang:
https://www.spinics.net/lists/linux-btrfs/msg81173.html
only difference: This is not my / but a 40TB storage mounted to
/media/btrfs1/

quick summary what happend:
- enabled quotas to better understand where all my space has gone
- started balancing
- system got completely stuck due to the meanwhile well understood reasons
- pushed reset button

I can mount my btrfs system perfectly read-only and access the data. As soon
as I try to mount rw, my system will exremely slow down, memory will fill up
until I will finally end up with a panicking kernel.

So, no problem to successfully boot with the fstab entries on ro or
commented out.

   admiral@server:/$ uname -a
   Linux server.domain.loc 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2
(2022-06-30) x86_64 GNU/Linux

   admiral@server:/$ btrfs --version
   btrfs-progs v5.10.1

Here the question:
I am looking for the option to disable quota on an unmounted btrfs like
described here:
https://patchwork.kernel.org/project/linux-btrfs/patch/20180812013358.16431-
1-wqu@suse.com/

All my trials and checks et cetera were performed with btrfs-progs v4.20.1-2
as debian buster's latest state:
https://packages.debian.org/de/buster/btrfs-progs

I already upgraded the btrfs-progs to debian backport v5.10.1 but do not
find any option to offline disable quota, yet:
https://packages.debian.org/buster-backports/btrfs-progs

Can you point me some direction how to move forward to recover the btrfs?

Thanks a lot,

admiralbulli


             reply	other threads:[~2022-10-09 11:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-09 11:03 admiral [this message]
2022-10-09 11:13 ` BTRFS w/ quotas hangs on read-write mount using all available RAM - rev2 Qu Wenruo
2022-10-09 11:37   ` Qu Wenruo
2022-10-10 21:55     ` admiral
  -- strict thread matches above, loose matches on Subject: below --
2024-05-05  3:55 O'Brien Dave
2024-05-05  6:09 ` Qu Wenruo
2024-05-07 13:43 O'Brien Dave
2024-05-07 20:44 ` Qu Wenruo

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='133101d8dbce$c666a030$5333e090$@admiralbulli.de' \
    --to=admiral@admiralbulli.de \
    --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