mwilck / btrfs-clone

A tool for copying a btrfs file system with all its subvolumes to another btrfs file system
GNU General Public License v2.0
116 stars 17 forks source link

cloning fails #9

Closed 2011 closed 11 months ago

2011 commented 4 years ago

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'
srd424 commented 4 years ago

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

mwilck commented 11 months ago

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.