rsync:连接意外关闭

rsync:连接意外关闭

更新使用选项后,我在 rsync 中遇到错误iconv。我搜索了所有地方,但没有找到任何解决方案

命令是:

rsync -rltPDvhbz -e 'ssh -vvvv' --progress --iconv=utf-8-mac,utf-8 --exclude={'.Spotlight*', '.TemporaryItems', '.Trashes'} --delete --backup-dir=/Volumes/wd/meumundo/backup/  [email protected]:/mnt/nas/ /Volumes/wd/meumundo/original/

我在 Mac 中运行,原点在 raspberry 中raspberrypi 5.15.32-v8+,目标在带有 exfat 的外部磁盘上。

我尝试在 MAC 和 raspberry 中更新到相同的版本,但 brew 的 mac 版本是最新的:

  • 苹果:
rsync  version 3.2.4  protocol version 31
Copyright (C) 1996-2022 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, symlinks, symtimes, hardlinks, hardlink-specials,
    hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs,
    xattrs, optional protect-args, iconv, no prealloc, stop-at, crtimes,
    file-flags
Optimizations:
    no SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5
Checksum list:
    xxh128 xxh3 xxh64 (xxhash) md5 md4 none
Compress list:
    zstd lz4 zlibx zlib none

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.
  • 覆盆子:
rsync  version 3.2.3  protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, hardlink-specials, symlinks, IPv6, atimes,
    batchfiles, inplace, append, ACLs, xattrs, optional protect-args, iconv,
    symtimes, prealloc, stop-at, no crtimes
Optimizations:
    no SIMD, no asm, openssl-crypto
Checksum list:
    xxh128 xxh3 xxh64 (xxhash) md5 md4 none
Compress list:
    zstd lz4 zlibx zlib none

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

使用详细的 ssh 我得到日志:

debug2: channel 0: window 1990734 sent adjust 98226
debug2: channel 0: window 1990690 sent adjust 90078
debug2: channel 0: window 1982477 sent adjust 106483
debug2: channel 0: window 1990690 sent adjust 90078
debug2: channel 0: window 1982522 sent adjust 106438
debug2: channel 0: window 1997357 sent adjust 99795
debug2: channel 0: window 1997790 sent adjust 96134
debug2: channel 0: window 1990419 sent adjust 101054
debug2: channel 0: window 1991175 sent adjust 100128
debug2: channel 0: window 1992523 sent adjust 96437
debug2: channel 0: write failed
debug2: chan_shutdown_write: channel 0: (i0 o0 sock -1 wfd 5 efd 6 [write])
debug2: channel 0: send eow
debug3: send packet: type 98
debug2: channel 0: output open -> closed
rsync: connection unexpectedly closed (7994120 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [generator=3.2.4]

有人能帮助我吗?谢谢

相关内容