mwilck/btrfs-clone

cloning fails

2011 opened this issue · 2 comments

2011 commented

Any idea what happened here?

# ./btrfs-clone.py /mnt/gentoo/ /mnt/usb/
unsharing mount namespace
Create a readonly snapshot of '/tmp/tmp1gaat8o7' in '/tmp/tmp1gaat8o7/2fbea0dd0457'
Delete subvolume (no-commit): '/tmp/tmpysac200z/2fbea0dd0457'
Using cloning strategy GenerationStrategy
Error in send:
b'At subvol /tmp/tmp1gaat8o7/root\nERROR: send ioctl failed with -2: No such file or directory\n'
ERROR: /tmp/tmpysac200z/f45d86a861e8/260/var has not been created
ERROR: /tmp/tmpysac200z/f45d86a861e8/261/tmp has not been created
ERROR: /tmp/tmpysac200z/f45d86a861e8/350/2fbea0dd0457 has not been created
read of closed file
Delete subvolume (no-commit): '/tmp/tmp1gaat8o7/2fbea0dd0457'

https://patchwork.kernel.org/patch/10541813/ maybe? Just hit this (on an ARM board where I can't easily upgrade kernel to check)

https://patchwork.kernel.org/patch/10541813/ maybe? Just hit this (on an ARM board where I can't easily upgrade kernel to check)

Quite likely. This should be fixed meanwhile, then.