[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)

Bug Watch Updater 1228302 at bugs.launchpad.net
Fri Oct 27 21:47:01 UTC 2017


Launchpad has imported 7 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=1010635.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-09-22T07:54:21+00:00 Rolf wrote:

Description of problem:
When trying to convert an ext4 FS to BTRFS btrfs-convert refuses claiming "No valid Btrfs found in /dev/mapper/BCACHE-ROOTFS'


Version-Release number of selected component (if applicable):
btrfs-progs-0.20.rc1.20130917git194aa4a-1.fc20.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Build a system running root on LVM
2. Boot an F20 Live DVD
3. yum install btrfs-progs
4. start btrfs-convert /dev/mapper/BCACHE-ROOTFS
5. Error: No valid Btrfs found on /dev/mapper/BCACHE-ROOTFS

Actual results:
No valid Btrfs found on /dev/mapper/BCACHE-ROOTFS
unable to open ctree
conversion aborted.


Expected results:
Smooth conversion

Additional info:
http://thread.gmane.org/gmane.comp.file-systems.btrfs/28290

Reply at: https://bugs.launchpad.net/ubuntu/+source/btrfs-
tools/+bug/1228302/comments/2

------------------------------------------------------------------------
On 2013-09-22T08:05:32+00:00 Rolf wrote:

The more simple case provide by "Additional info" can also be used to
reproduce:

Quote:
  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.

Reply at: https://bugs.launchpad.net/ubuntu/+source/btrfs-
tools/+bug/1228302/comments/3

------------------------------------------------------------------------
On 2013-09-23T18:47:43+00:00 Eric wrote:

Yep, this was regression reported upstream some time ago.  A patch to
fix it has been sent to the list, but a month later upstream still
hasn't merged it (or any other patches).

When upstream accepts the fix, we can update btrfs-progs in Fedora to
fix this bug.

thanks,
-Eric

Reply at: https://bugs.launchpad.net/ubuntu/+source/btrfs-
tools/+bug/1228302/comments/4

------------------------------------------------------------------------
On 2013-10-02T17:42:58+00:00 Tim wrote:

JFTR: This is also present in Fedora 19 and needs to be fixed there as
well.

Reply at: https://bugs.launchpad.net/ubuntu/+source/btrfs-
tools/+bug/1228302/comments/5

------------------------------------------------------------------------
On 2013-10-04T17:34:41+00:00 Eric wrote:

And still JFTR: If upstream ever accepts this (or for that matter any)
patch, I'll gladly fix it.

"Upstream first" - live by the sword, die by the sword.  ;)

Thanks,
-Eric

Reply at: https://bugs.launchpad.net/ubuntu/+source/btrfs-
tools/+bug/1228302/comments/6

------------------------------------------------------------------------
On 2013-12-10T01:09:27+00:00 Tim wrote:

With btrfs-progs-3.12-1.fc19.i686, this works for me now in Fedora 19.

Reply at: https://bugs.launchpad.net/ubuntu/+source/btrfs-
tools/+bug/1228302/comments/14

------------------------------------------------------------------------
On 2013-12-10T02:40:06+00:00 Eric wrote:

Great, thanks for the feedback.

Reply at: https://bugs.launchpad.net/ubuntu/+source/btrfs-
tools/+bug/1228302/comments/15


** Changed in: btrfs-tools (Fedora)
       Status: Unknown => Fix Released

** Changed in: btrfs-tools (Fedora)
   Importance: Unknown => Undecided

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to btrfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1228302

Title:
  btrfs-convert does not work (unable to open ctree)

Status in Linux:
  Unknown
Status in btrfs-tools package in Ubuntu:
  Fix Released
Status in btrfs-tools package in Debian:
  Fix Released
Status in btrfs-tools package in Fedora:
  Fix Released

Bug description:
  I've tried to convert an ext4 partition on /dev/sda3 to btrfs
  I've run an "e2fsck -vyf" and everything was ok
  Then I run btrfs-convert:

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

  $ uname -a
  Linux gamma 3.11.0-7-generic #14-Ubuntu SMP Mon Sep 16 18:37:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: btrfs-tools 0.19+20130705-1
  ProcVersionSignature: Ubuntu 3.11.0-7.14-generic 3.11.1
  Uname: Linux 3.11.0-7-generic x86_64
  ApportVersion: 2.12.4-0ubuntu1
  Architecture: amd64
  Date: Fri Sep 20 19:38:28 2013
  InstallationDate: Installed on 2012-10-19 (335 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  SourcePackage: btrfs-tools
  UpgradeStatus: Upgraded to saucy on 2013-09-12 (7 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions



More information about the foundations-bugs mailing list