Skip to content

Semi-broken file system after btrfs-convert #297

Open
@Firlaev-Hans

Description

@Firlaev-Hans

So I want to convert my main 1TB boot SSD with Manjaro from ext4 to BTRFS. I used a Manjaro Live USB to do it, but on my first attempt I accidentally used a version of btrfs-progs that according to the Arch Wiki is known to have problems (5.6-1) and the resulting file system was not mountable, however, I was able to undo it and had a working ext4 partition again that showed no errors when running fsck.ext4. So I upgraded btrfs-progs on the Live USB to 5.7-1 and tried again, and here's the output:
create btrfs filesystem:
blocksize: 4096
nodesize: 16384
features: extref, skinny-metadata (default)
checksum: crc32c
creating ext2 image file
ERROR: missing data block for bytenr 3455668224
ERROR: failed to create ext2_saved/image: -2
WARNING: an error occurred during conversion, filesystem is partially created but not finalized and not mountable

It failed to create the ext backup. Googling this error didn't give me many useful results, and most of them pointed to a bug that is apparently fixed already that had to do with certain filesystem sizes, and it was suggested to resize the ext4 partition. I tried it anyways, however, that only resulted in a slightly lower bytenr in the error message.

What could be causing this, could it have something to do with the first, bad conversion that I reverted back? Am I stuck with an ext4 partition forever now? Is something wrong with my ext4 partition or is it something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconvertChanges in btrfs-convert

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions