public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* "missing data block" when converting ext4 to btrfs
@ 2020-07-13 19:46 Christian Zangl
  2020-07-14  6:10 ` Qu Wenruo
  0 siblings, 1 reply; 9+ messages in thread
From: Christian Zangl @ 2020-07-13 19:46 UTC (permalink / raw)
  To: linux-btrfs

I am on a test VM where I am trying to convert a second disk to btrfs.

The conversion fails with the error missing data block for bytenr 
1048576 (see below).

I couldn't find any information about the error. What can I do to fix this?

$ fsck -f /dev/sdb1
fsck from util-linux 2.35.2
e2fsck 1.45.6 (20-Mar-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdb1: 150510/4194304 files (0.5% non-contiguous), 2726652/16777216 
blocks

$ btrfs-convert /dev/sdb1
create btrfs filesystem:
         blocksize: 4096
         nodesize:  16384
         features:  extref, skinny-metadata (default)
         checksum:  crc32c
creating ext2 image file
ERROR: missing data block for bytenr 1048576
ERROR: failed to create ext2_saved/image: -2
WARNING: an error occurred during conversion, filesystem is partially 
created but not finalized and not mountable

$ uname -a
Linux t-arch 5.7.7-arch1-1 #1 SMP PREEMPT Wed, 01 Jul 2020 14:53:16 
+0000 x86_64 GNU/Linux

$ btrfs --version
btrfs-progs v5.7

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-20 19:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-13 19:46 "missing data block" when converting ext4 to btrfs Christian Zangl
2020-07-14  6:10 ` Qu Wenruo
2020-07-14  7:58   ` Christian Zangl
2020-07-14  8:09     ` Qu Wenruo
2020-07-14  9:33       ` Christian Zangl
2020-07-14 10:10         ` Qu Wenruo
2020-07-15  7:22           ` Christian Zangl
2020-07-20 12:56             ` Qu Wenruo
2020-07-20 19:33               ` Christian Zangl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox