Bug 60081
Summary: | btrfs receive error on sending second snapshot | ||
---|---|---|---|
Product: | File System | Reporter: | Miguel Negrão (miguel.negrao) |
Component: | btrfs | Assignee: | Stefan Behrens (sbehrens) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | miguel.negrao, sbehrens |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.8.11 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | The files created while test btrfs send and receive |
Description
Miguel Negrão
2013-06-25 09:16:20 UTC
Created attachment 105961 [details]
The files created while test btrfs send and receive
Works for me using the current master branch from btrfs-progs from git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git ./btrfs --version Btrfs v0.20-rc1-335-gf00dd83 OK, fails with v0.20-rc1 (which is from August 2012!), works with the current btrfs-progs v0.20-rc1-335-gf00dd83. Please update your progs. I have added a bug report in ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/1195245. I'm quite a linux newbie, so some questions: Is it safe(r) to use the latest version in git ? So to change to the compiled progs, I would have to first uninstall the ubuntu version and then compile from git ? Does it matter which kernel I'm using, when using the latest progs from git ? Q: Is it safe(r) to use the latest version in git ? A: The btrfs-progs master branch from Chris Mason is updated after manually selecting, integrating and testing the commits. So, Yes, for the master branch in this repository it is safe to use the latest version (the git HEAD). Q: So to change to the compiled progs, I would have to first uninstall the ubuntu version and then compile from git ? Does it matter which kernel I'm using, when using the latest progs from git ? A: Please read https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories . At least the build dependencies section is relevant. And Yes, I would uninstall the Ubuntu package first. If you "make install" the btrfs-progs after fetching them from git, they are copied to /usr/local/bin, which means that you need to have this directory in your path. About the kernel version. I expect that it would work with your 3.8 kernel. But generally speaking, for Btrfs you should at least use a kernel from the latest stable series. Refer to https://wiki.ubuntu.com/Kernel/MainlineBuilds?action=show&redirect=KernelTeam%2FMainlineBuilds which explains the details for Ubuntu. Ok, I now have btrfs-progs installed from btrfs receive is working fine. backing up is so much faster now !! thanks ! |