[Bug 1195245] [NEW] btrfs receive fails for second snapshot
Miguel Negrao
1195245 at bugs.launchpad.net
Thu Jun 27 10:22:18 UTC 2013
Public bug reported:
See upstream bug report: https://bugzilla.kernel.org/show_bug.cgi?id=60081
Confirmed broken in
Btrfs v0.20-rc1, working on Btrfs v0.20-rc1-335-gf00dd83 (from git). Perhaps ubuntu's btrfs-tools package should pull upstream ?
Info from bug report above:
sudo btrfs subvolume create test
cd test
nano a.txt
cd ..
sudo btrfs subvolume snapshot -r test testBackup1
sudo btrfs send testBackup1 > '/media/miguel/btrfs_backup/file1'
cd test
nano b.txt
cd ..
sudo btrfs subvolume snapshot -r test testBackup2
sudo btrfs send -p testBackup1 testBackup2 > '/media/miguel/btrfs_backup/file2'
sudo btrfs receive '/media/miguel/btrfs_backup/testBtrfsBackups' <
'/media/miguel/btrfs_backup/file1'
sudo btrfs receive '/media/miguel/btrfs_backup/testBtrfsBackups' <
'/media/miguel/btrfs_backup/file2'
The last command gives the error:
ERROR: open testBtrfsBackups/testBackup1 failed. No such file or directory
But the subvolume is there:
miguel at miguel-MacBookPro:/media/miguel/btrfs_backup/testBtrfsBackups$ ls -l
total 0
drwxr-xr-x 1 miguel miguel 10 Jun 25 09:59 testBackup1
The files file1 and file2 created are attached in case someone want to try
doing the receive part.
I'm using ubuntu 13.04, 3.8.0-25-lowlatency #17-Ubuntu SMP PREEMPT Sat Jun 8
15:59:57 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux.
Btrfs v0.20-rc1
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: btrfs-tools 0.19+20130117-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-22.15-lowlatency 3.8.11
Uname: Linux 3.8.0-22-lowlatency x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Thu Jun 27 11:17:56 2013
InstallationDate: Installed on 2013-03-29 (89 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130328)
MarkForUpload: True
SourcePackage: btrfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: btrfs-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug raring
--
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/1195245
Title:
btrfs receive fails for second snapshot
Status in “btrfs-tools” package in Ubuntu:
New
Bug description:
See upstream bug report: https://bugzilla.kernel.org/show_bug.cgi?id=60081
Confirmed broken in
Btrfs v0.20-rc1, working on Btrfs v0.20-rc1-335-gf00dd83 (from git). Perhaps ubuntu's btrfs-tools package should pull upstream ?
Info from bug report above:
sudo btrfs subvolume create test
cd test
nano a.txt
cd ..
sudo btrfs subvolume snapshot -r test testBackup1
sudo btrfs send testBackup1 > '/media/miguel/btrfs_backup/file1'
cd test
nano b.txt
cd ..
sudo btrfs subvolume snapshot -r test testBackup2
sudo btrfs send -p testBackup1 testBackup2 > '/media/miguel/btrfs_backup/file2'
sudo btrfs receive '/media/miguel/btrfs_backup/testBtrfsBackups' <
'/media/miguel/btrfs_backup/file1'
sudo btrfs receive '/media/miguel/btrfs_backup/testBtrfsBackups' <
'/media/miguel/btrfs_backup/file2'
The last command gives the error:
ERROR: open testBtrfsBackups/testBackup1 failed. No such file or directory
But the subvolume is there:
miguel at miguel-MacBookPro:/media/miguel/btrfs_backup/testBtrfsBackups$ ls -l
total 0
drwxr-xr-x 1 miguel miguel 10 Jun 25 09:59 testBackup1
The files file1 and file2 created are attached in case someone want to try
doing the receive part.
I'm using ubuntu 13.04, 3.8.0-25-lowlatency #17-Ubuntu SMP PREEMPT Sat Jun 8
15:59:57 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux.
Btrfs v0.20-rc1
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: btrfs-tools 0.19+20130117-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-22.15-lowlatency 3.8.11
Uname: Linux 3.8.0-22-lowlatency x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Thu Jun 27 11:17:56 2013
InstallationDate: Installed on 2013-03-29 (89 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130328)
MarkForUpload: True
SourcePackage: btrfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/1195245/+subscriptions
More information about the foundations-bugs
mailing list