rsync 同步错误 {cwrsync rsync error rsync error: some files/attrs were not transferred }

 
 

rsync error: some files/attrs were not transferred (see previous errors)

cwrsync   rsync error   failed: Invalid argument 

cwrsync 在windows 系统上作为服务端

rsync 在linux 系统上作为客户端(推送文件到cwrsync所在的windows 端)

出现错误:

rsync error: some files/attrs were not transferred (see previous errors)

failed: Invalid argument (22)

解决办法:

1.停止windows cwrsync服务

2.编辑E:\Program Files\ICW\etc\fstab文件(cwrsync安装路径)

在文件最后加入一行:

e:/shentest ntfs override,binary,noacl 0 0      //确认e盘shentest文件夹已经建立

3.修改rsync.conf配置文件(比如:将windows下e盘的shentest让linux来推送。)

[2011test]

path = /cygdrive/e/shentest

transfer logging = yes

ignore errors

read only = false

4.保存文件并重启windows上cwrsync服务

5.在linux测试rsync同步推送是否成功

注意的一点:

linux同步到windows端不能使用参数-vaz,否则文件夹就只有rsync能访问,windows用户就不能访问了

我的是下面这样:

rsync   test.txt    --delete   1.1.1.1::2011test

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值