Bug 216086 - btrfs-progs using btrfs-convert aborts with an assert
Summary: btrfs-progs using btrfs-convert aborts with an assert
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: BTRFS virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-06 15:26 UTC by torbjorn
Modified: 2022-06-06 15:26 UTC (History)
0 users

See Also:
Kernel Version: 5.15.35
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description torbjorn 2022-06-06 15:26:03 UTC
Hello.

I tried to run btrfs-convert on one of my ext4 filesystems and all i got was this:

--
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
--

The filesystem is 16TiB using ext4 and it got around 8TiB of data used on it.
The ext4 filesystem contains almost exclusively large files, some of over 1TiB.

Note You need to log in before you can comment on or make changes to this bug.