On 9/5/13 9:43 AM, Тимофей Титовец wrote: > Hello guys, i try to convert ext4 volume, but btrfs-convert show me error: > "No valid Btrfs found on file > unable to open ctree > conversion aborted." > Ubuntu 13.04 > Kernel: 3.11 > btrfs-progs git version 0.20-git20130822~194aa4a13 > > way to reproduce error: > $ truncate -s 4G file > $ mkfs.ext4 file #say yes to create fs on non block device. > $ btrfs-convert file > No valid Btrfs found on file > unable to open ctree > conversion aborted.
This was a regression around July 3; there was no regression test at the time. [615f2867854c186a37cb2e2e5a2e13e9ed4ab0df] Btrfs-progs: cleanup similar code in open_ctree_* and close_ctree broke it. Patches were sent to the list to fix it on July 17, https://patchwork.kernel.org/patch/2828820/ but they haven't been merged into the main repo. I sent a regression test for it to the list on Aug 4, but nobody reviewed it, so it hasn't been merged into the test suite, either. Winning all around! -Eric -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html