On Sun, Aug 11, 2013 at 9:53 PM, Emil Karlson <jekarl...@gmail.com> wrote:
> Greetings
>
> Send fails for me unexpectedly:
>
> I get:
> ERROR: rename o262-5-0 -> snapshots failed. No such file or directory
>
> reproducer ( http://users.tkk.fi/~jkarlson/files/test4.txt  ):
>
> for i in 1 2; do
>   mkdir /mnt/$i
>   truncate -s 4G /mnt/$i.img
>   mkfs.btrfs /mnt/$i.img
>   mount -o loop /mnt/$i.img /mnt/$i
> done
>
> mkdir /mnt/1/testdir
> mkdir /mnt/1/testdir/1/
> mkdir /mnt/1/testdir/2/
> dd if=/dev/urandom  of=/mnt/1/testdir/aa count=16
> dd if=/dev/urandom  of=/mnt/1/testdir/bb count=16
>
> mkdir /mnt/1/snapshots
> btrfs sub snap -r /mnt/1/ /mnt/1/snapshots/backup2
> btrfs sub snap -r /mnt/1/ /mnt/1/snapshots/backup3
> btrfs send /mnt/1/snapshots/backup3/ | btrfs receive /mnt/2/
>
> umount /mnt/{1,2}; rm /mnt/{1,2}.img; rmdir /mnt/{1,2}
>
> Best Regards
> -Emil

Kernel version is 3.11-rc4 with "Btrfs: check our parent dir when
doing a compare send V2" and a few other patches.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to