[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
** Branch linked: lp:debian/jessie/btrfs-tools -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
** Branch linked: lp:debian/btrfs-tools ** Branch linked: lp:ubuntu/btrfs-tools -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
In saucy we still we the previous version: apt-cache policy btrfs-tools btrfs-tools: Installato: 0.19+20130705-1 Candidato: 0.19+20130705-1 Tabella versione: *** 0.19+20130705-1 0 500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages 500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages 100 /var/lib/dpkg/status -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
This bug was fixed in the package btrfs-tools - 0.19+20130705-3 --- btrfs-tools (0.19+20130705-3) unstable; urgency=low * Import patch by Shilong Wang to resolve btrfs-convert (Closes: #724265) (LP: #1228302) -- Dmitrijs Ledkovs Fri, 18 Oct 2013 23:47:16 +0100 ** Changed in: btrfs-tools (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
** Changed in: btrfs-tools (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
** Changed in: btrfs-tools (Ubuntu) Status: Confirmed => Fix Committed ** Changed in: btrfs-tools (Ubuntu) Assignee: (unassigned) => Dmitrijs Ledkovs (xnox) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
Until the package includes the patch, these are the steps to compile it manually as per Andrea Agnolin's answer: sudo apt-get build-dep btrfs-tools git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git cd btrfs-progs curl https://patchwork.kernel.org/patch/2828820/raw/ | git apply make sudo ./btrfs-convert /my/device -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
** Changed in: btrfs-tools (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
** Bug watch added: Debian Bug tracker #724265 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724265 ** Also affects: btrfs-tools (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724265 Importance: Unknown Status: Unknown ** Bug watch added: Red Hat Bugzilla #1010635 https://bugzilla.redhat.com/show_bug.cgi?id=1010635 ** Also affects: btrfs-tools (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=1010635 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
** Changed in: btrfs-tools (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
I rebuilt ubuntu package adding same patch and worked for me too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
I compiled from git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git adding this patch https://patchwork.kernel.org/patch/2828820/ and now everything works -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
It also happens with ext4 #lvcreate -L 2G -n test2.ext2 vg1 #mkfs.ext2 /dev/vg1/test2.ext2 #btrfs-convert /dev/vg1/test2.ext2 No valid Btrfs found on /dev/vg1/test2.ext2 unable to open ctree conversion aborted. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: btrfs-tools (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1228302] Re: btrfs-convert does not work (unable to open ctree)
** Bug watch added: Linux Kernel Bug Tracker #62131 http://bugzilla.kernel.org/show_bug.cgi?id=62131 ** Also affects: btrfs-tools via http://bugzilla.kernel.org/show_bug.cgi?id=62131 Importance: Unknown Status: Unknown ** Project changed: btrfs-tools => lebtrfs ** Project changed: lebtrfs => linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1228302 Title: btrfs-convert does not work (unable to open ctree) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1228302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs