记一次rsync日志报错directory has vanished
中午两点的时候邮件告知rsync同部svn源库失败,看rsync日志报错显示如上,当时还在上课,没在公司,怀疑是不是有人动了svn的版本库,后来询问同事并通过vpn登录服务器上查看版本库是正常的,也没有同事反应svn有问题,后来看邮件通知都是正常的,后来查资料说是在同步的过程中,正好有人执行了删除文件的操作,要不要这么巧,不知道是不是这个原因,有知道的小伙伴请联系我:528634141,资料显示如下:
Can you ensure, that there is no traffic on the files/directory that you want to be synced? It seemes when rsync builts it's file list (which you shoud see due the -v) and when it actually wants to transfer files, some other process or user might have removed that file from the place where it's been, like issued a rm or mv etc.
So trying to rsync a very busy directory might occure to this
天天向上,空杯心态。