All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfs receive fails with "failed to clone extents"
@ 2021-09-22 19:37 Yuxuan Shui
  2021-09-22 23:24 ` Qu Wenruo
  2021-09-23 10:13 ` Filipe Manana
  0 siblings, 2 replies; 19+ messages in thread
From: Yuxuan Shui @ 2021-09-22 19:37 UTC (permalink / raw)
  To: linux-btrfs

Hi,

The problem is as the title states. Relevant logs from `btrfs receive -vvv`:

  mkfile o119493905-1537066-0
  rename o119493905-1537066-0 ->
shui/programs/treeusage/target/release/build/zstd-sys-506c8effd111251c/out/include/zstd.h
  utimes shui/programs/treeusage/target/release/build/zstd-sys-506c8effd111251c/out/include
  clone shui/programs/treeusage/target/release/build/zstd-sys-506c8effd111251c/out/include/zstd.h
- source=shui/.cargo/registry/src/github.com-1ecc6299db9ec823/zstd-sys-1.6.1+zstd.1.5.0/zstd/lib/zstd.h
source offset=0 offset=0 length=131072
  ERROR: failed to clone extents to
shui/programs/treeusage/target/release/build/zstd-sys-506c8effd111251c/out/include/zstd.h:
Invalid argument

stat of shui/.cargo/registry/src/github.com-1ecc6299db9ec823/zstd-sys-1.6.1+zstd.1.5.0/zstd/lib/zstd.h,
on the receiving end:

  File: /mnt/backup/home/backup-32/shui/.cargo/registry/src/github.com-1ecc6299db9ec823/zstd-sys-1.6.1+zstd.1.5.0/zstd/lib/zstd.h
  Size: 145904 Blocks: 288 IO Block: 4096 regular file

Looks to me the range of clone is within the boundary of the source
file. Not sure why this failed?

Sending end has 5.14.6 and btrfs-progs 5.14, receiving end has 5.14.6
and btrfs-progs 5.13.1

-- 

Regards
Yuxuan Shui

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-09-24  9:58 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 19:37 btrfs receive fails with "failed to clone extents" Yuxuan Shui
2021-09-22 23:24 ` Qu Wenruo
2021-09-23  1:34   ` Yuxuan Shui
2021-09-23  1:40     ` Yuxuan Shui
2021-09-23  2:32       ` Qu Wenruo
     [not found]         ` <CAGqt0zz+=nUYbNwLSPYwzYcNLgyxsWT22p+jwwFpAOcyAHAWgA@mail.gmail.com>
2021-09-23  9:27           ` Fwd: " Yuxuan Shui
     [not found]           ` <e83029f0-8583-91b9-47c8-a99d4b00a6ae@gmx.com>
2021-09-23  9:38             ` Yuxuan Shui
2021-09-23  9:43               ` Yuxuan Shui
2021-09-23  9:44                 ` Qu Wenruo
2021-09-23 10:08                   ` Yuxuan Shui
2021-09-23 10:19                     ` Qu Wenruo
2021-09-23 10:46                       ` Filipe Manana
2021-09-23 11:16                         ` Qu Wenruo
2021-09-23 11:24                           ` Filipe Manana
2021-09-24  9:47                           ` Yuxuan Shui
2021-09-24  9:57                             ` Qu Wenruo
2021-09-23  9:27     ` Graham Cobb
2021-09-23  9:40       ` Yuxuan Shui
2021-09-23 10:13 ` Filipe Manana

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.