rsync 同步差错 cwrsync rsync error rsync error: some files/a
发布时间:05/16 来源:未知 浏览:
关键词:
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 热门标签:dede模板 / destoon模板 / dedecms模版 / 织梦模板
责任编辑:a4Jel