Re: btrfs-convert won't convert ext* - No valid Btrfs found on /dev/sdb1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 5 Sep 2013 15:54:07 +0100
Hugo Mills <hugo@xxxxxxxxxxxxx> wrote:

> On Thu, Sep 05, 2013 at 05:43:27PM +0300, Тимофей Титовец 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.
> 
>    I'm guessing here, but I suspect you will need to create a loopback
> device so that btrfs-convert can look at it as a block device rather
> than as a file:
> 
> # losetup -f --show file
> /dev/loop0
> # btrfs-convert /dev/loop0
> 
>    Hugo.
> 

Nope, just today I saw someone report the same problem in a blog comment:
http://popey.com/blog/2013/09/02/fun-with-btrfs-on-ubuntu/#comment-9704

-------
# umount /dev/sdb1
# fsck -f /dev/sdb1
fsck из util-linux 2.20.1
e2fsck 1.42.8 (20-Jun-2013)
data500: 144653/30531584 files (0.9% non-contiguous), 102659367/122096384
blocks

# btrfs-convert /dev/sdb1
No valid Btrfs found on /dev/sdb1
unable to open ctree
conversion aborted.

Ubuntu 13.10
btrfs-tools 0.19+20130705-1
-------

It looks like a bug in btrfs-convert.

-- 
With respect,
Roman

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux