You are not logged in.

#1 2016-07-30 10:40:11

gandl
Member
Registered: 2016-07-30
Posts: 9

btrfs-convert: Unable to find block group for 0

Hello everyone,

i tried to convert an existing ext4 partition to btrfs via btrfs-convert and got his error:

create btrfs filesystem:
    blocksize: 4096
    nodesize:  16384
    features:  extref, skinny-metadata (default)
creating ext2 image file.
Unable to find block group for 0
extent-tree.c:289: find_search_start: Assertion `1` failed.
btrfs-convert[0x4162ee]
btrfs-convert(btrfs_reserve_extent+0xa3a)[0x41b1aa]
btrfs-convert(btrfs_alloc_free_block+0x5f)[0x41b26f]
btrfs-convert[0x40e521]
btrfs-convert(btrfs_search_slot+0x2a2)[0x40f352]
btrfs-convert(btrfs_csum_file_block+0x477)[0x4207c7]
btrfs-convert[0x4393fb]
btrfs-convert(main+0x1d0b)[0x40a87b]
/usr/lib/libc.so.6(__libc_start_main+0xf1)[0x7f03ec1c3741]
btrfs-convert(_start+0x29)[0x40b659]


The disk is a 2TB Samsung SATA harddisk connected via USB.
I tried to find a solution, but google only came up with one result which doesn't has any solution:
https://www.spinics.net/lists/linux-btrfs/msg56478.html

There are no flags on the drive according to parted and sdd2 is the only partition on sdd without any empty space before or after.
fsck.ext4 says the drive is clean.

the file /usr/lib/libc.so.6 belongs to glibc 2.23-5 according to pacman -Qo.

if any more information is needed, please let me know.

And thanks for your help.


greetings

Offline

#2 2016-07-30 12:33:42

rdeckard
Wiki Maintainer
Registered: 2015-01-28
Posts: 137

Re: btrfs-convert: Unable to find block group for 0

Is your data intact and still ext4, or did the conversion process destroy it? btrfs-convert is not recommended and is warned against. It's better to backup your data and create a fresh btrfs partition and then move the data back.

Offline

#3 2016-07-30 13:29:06

gandl
Member
Registered: 2016-07-30
Posts: 9

Re: btrfs-convert: Unable to find block group for 0

The data is intact and the drive is still ext4.
Sadly i don't have an extra 2TB drive lying around.

Offline

Board footer

Powered by FluxBB