Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: corruption after block-group-tree conversion, how to recover? (data is readable)
Date: Mon, 27 Apr 2026 02:08:03 +0200	[thread overview]
Message-ID: <20260427000803.GA879749@tik.uni-stuttgart.de> (raw)
In-Reply-To: <07db83f8-5769-4aaf-9f54-2711ddad9eea@suse.com>

On Mon 2026-04-27 (07:48), Qu Wenruo wrote:

> 圚 2026/4/27 06:53, Thomas Debesse 写é":
> 
> > Hi, I just did a `btrfstune --convert-to-block-group-tree` conversion

Why should one execute this command?
For what...?


> > The system is running Ubuntu 24.04.4 with Linux 6.8.0-110-generic and
> > btrfs-progs 6.6.3-1.1build2.
> 
> Unfortunately the btrfs-progs is too old, and possibility the root cause.
> 
> There are some fixes in progs v6.15, thus it's strongly recommended to
> use progs newer than v6.15.

I also run Ubuntu 24.04.4 on many hosts and btrfs-progs 6.6.3-1.1build2 is
the newest Ubuntu package for it.

Is it recommendable to put btrfs v6.19.1 from
https://github.com/kdave/btrfs-progs in a PATH element in front?

I have now:

root@fex:~# type -a btrfs
btrfs is /opt/btrfs-tools/bin/btrfs
btrfs is /usr/bin/btrfs

root@fex:~# /opt/btrfs-tools/bin/btrfs version
btrfs-progs v6.19.1
-EXPERIMENTAL -INJECT +STATIC +LZO +ZSTD +UDEV +FSVERITY +ZONED CRYPTO=builtin

root@fex:~# /usr/bin/btrfs version
btrfs-progs v6.6.3

root@fex:~# uname -a
Linux fex 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux


And a addon question:

  Static binaries

  The btrfs.box is an all-in-one tool in the busybox style, the
  functionality is determined by the binary names (either symlink,
  hardlink or a file copy).

I found no list which names are useful. By try-and-error I have:

root@fex:/opt/btrfs-tools/bin# ls -li btrfs btrfstune mkfs.btrfs
3214654 -rwxr-xr-x 4 framstag users 3653384 Mar 18 18:34 btrfs
3214654 -rwxr-xr-x 4 framstag users 3653384 Mar 18 18:34 btrfstune
3214654 -rwxr-xr-x 4 framstag users 3653384 Mar 18 18:34 mkfs.btrfs


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    https://www.tik.uni-stuttgart.de/
REF:<07db83f8-5769-4aaf-9f54-2711ddad9eea@suse.com>

  reply	other threads:[~2026-04-27  0:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-26 21:23 corruption after block-group-tree conversion, how to recover? (data is readable) Thomas Debesse
2026-04-26 22:18 ` Qu Wenruo
2026-04-27  0:08   ` Ulli Horlacher [this message]
2026-04-27  2:24   ` Christoph Anton Mitterer
2026-04-27  2:43   ` Thomas Debesse
2026-04-27  5:26     ` Qu Wenruo
2026-04-27 12:56       ` Thomas Debesse

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=20260427000803.GA879749@tik.uni-stuttgart.de \
    --to=framstag@rus.uni-stuttgart.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