You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用rsync在两台NAS间镜像目录时遇到问题求助

使用rsync在两台NAS间镜像目录时遇到问题求助

我有两台网络附加存储(NAS),现在想通过Windows子系统Linux(WSL)把nasA(IP结尾.69)上的目录镜像到nasB(IP结尾.11)上,过程中碰到了两个棘手的问题,想请大家帮忙出出主意:

问题1:从nasA发起rsync到nasB时主机密钥验证失败

我在笔记本的WSL里SSH登录到nasA,接着执行了这条同步命令:

rsync -a /volume1/test me@x.x.x.x:/volume1/test

结果直接报错中断,具体提示如下:

Current status: 255 (Interrupted)

Standard output/error:
Host key verification failed.
rsync error: unexplained error (code 255) at io.c(254) [sender=3.1.2]

问题2:直接在WSL执行跨两台NAS的rsync命令不被支持

后来我换了个思路,直接在WSL里执行跨两台远程NAS的同步命令:

rsync -a me@x.x.x.69:/volume1/movies/prerolls me@x.x.x.11:/volume1/movies/prerolls

结果又收到了新的错误提示:

The source and destination cannot both be remote.

有没有大佬能给我指条明路?万分感谢!

备注:内容来源于stack exchange,提问作者Pete Whelan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.20 11:39:36