Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: "Torbjörn Jansson" <torbjorn@jansson.tech>
To: linux-btrfs@vger.kernel.org
Subject: btrfs-convert aborts with an assert
Date: Mon, 6 Jun 2022 16:03:33 +0200	[thread overview]
Message-ID: <023b5ca9-0610-231b-fc4e-a72fe1377a5a@jansson.tech> (raw)

Hello

i tried to do a btrfs-convert of a ext4 filesystem and after a short while 
after starting it i was greeted with:

# btrfs-convert /dev/xxxx
btrfs-convert from btrfs-progs v5.16.2

convert/main.c:1162: do_convert: Assertion `cctx.total_bytes != 0` failed, value 0
btrfs-convert(+0xffb0)[0x557defdabfb0]
btrfs-convert(main+0x6c5)[0x557defdaa125]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f66e1f8bd0a]
btrfs-convert(_start+0x2a)[0x557defdab52a]
Aborted

Any idea whats going on?
Is it a known bug?
Is the btrfs-progs that come with my dist too old?
FYI the ext4 filesystem is a bit large ~10tb of used data on it.

I assume the convert didn't even start in this case and nothing was modified on 
the ext4 filesystem, correct? or?

             reply	other threads:[~2022-06-06 14:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-06 14:03 Torbjörn Jansson [this message]
2022-06-06 14:14 ` btrfs-convert aborts with an assert Nikolay Borisov
2022-06-06 14:31 ` Nikolay Borisov
2022-06-06 15:00   ` Torbjörn Jansson
2022-06-06 15:21     ` Nikolay Borisov
2022-06-06 15:31       ` Torbjörn Jansson
2022-06-07 18:24     ` Chris Murphy
2022-06-09 17:55       ` Torbjörn Jansson
2022-06-06 14:34 ` David Sterba

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=023b5ca9-0610-231b-fc4e-a72fe1377a5a@jansson.tech \
    --to=torbjorn@jansson.tech \
    --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