Skip to contentSkip to conversation

btrfs import/export: ERROR: failed to clone extents to ... Invalid argument

DISCUSSION Tomasz Chmielewski 1 participant 1 message Mar 22, 2023 Btrfs file system

lore
Share & tools
lore
#0 lore raw

I'm unable to export/import from one system to another.

It fails on one volume, usually with an error like:

ERROR: failed to clone extents to rootfs/var/log/journal/381f93e4c7d74d4292a3c997191b9a6f/system.journal: Invalid argument

If I try again, it might fail in a different location with a different error (like, no such file or directory).

Kernels:

- source: 5.15, tried upgrading to 6.2.7, didn't help
- destination: tried two different destinations (different servers/filesystems), running kernels 6.1.13 and 6.2.7

Not sure what to provide to debug this further.

Tomasz Chmielewski