Comments (10)
应该是可以的,这个是递归监控目录与子目录,你是用mkdir
-p /a/b/c/d的吧,这个我以前听
有些用户反应在有些机器会出现监控路径丢失的现象,比如��
�只监控到b所在目录,c和d的没有。
但在centos下我测试过,即使使用-p参数一次建立多级目录,�
��不会出现监控丢失问题。不知道
您是什么系统,我也非常想重现这个问题,但在我的centos上
mkdir -p a/b/c/d/e/f/g/ 都不会
丢失监控。
你的问题,如果实际应用就只是一次不建立多级,只是一级��
�级的建立是肯定没有问题的如:
mkdir a
cd a
mkdir b
我很想重现这个错误,希望指出您的系统,和配置信息。
Original comment by [email protected]
on 8 May 2010 at 2:15
from sersync.
-r
参数是将所有文件整体同步一遍,不存在你说的问题,你说��
�问题只是在实时同步时候有用户
出现过,但我在32位centos没有出现。如果你建立目录是逐层建
立,不是用-p 一次性建立应该也
可以用。很想知道这个问题是怎么出现的,我在自己机器上��
�论同时建立多少层都没问题,希望
您把您详细建立过程及其细节展示出来。
Original comment by [email protected]
on 8 May 2010 at 3:29
from sersync.
Linux localhost.localdomain 2.6.18-164.15.1.el5.centos.plus #1 SMP Wed Mar 17
19:54:20
EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
我先用-r
参数同步到另一台机器的相同目录中去,例如/opt/website,等同�
��完之后,我再在/opt/website/a/这
个目录下新建文件和目录,就不会再自动同步到另一台机器��
�去,说明下,我的/opt/website这个目录有很多文件,容
量在40多G
Original comment by [email protected]
on 9 May 2010 at 4:25
from sersync.
你所说的在我的环境里可以用mkdir -p
a/b/c/d/建很多层目录都可以同步,但就是不能同步子目录下的
文件,挺奇怪
的
Original comment by [email protected]
on 9 May 2010 at 7:13
from sersync.
在我的测试环境下,无论是新建立的目录和子目录或者子文��
�都可以同步,你可以先不用-r启动
sersync,然后测一下能否同步新建立的子目录和文件。我怀疑�
��能是-r选项造成的。因为我的
测试环境下没有那么多文件,-r瞬间就执行完毕了。还是想�
��道您是什么环境,具体配置方式,
因为在我这里不会出现无法同步子目录或子文件情况。
Original comment by [email protected]
on 9 May 2010 at 9:07
from sersync.
我又测了一下,原先监控目录下假如有a,那么开启sersync后,
在a下建立目录、子目录,并在目
录、子目录下建立文件都可以同步到远程,还是没有出现您��
�问题,我的是centos5.4,以前在
5.3环境下也没有子目录文件监控不了的事情发生。
Original comment by [email protected]
on 9 May 2010 at 9:27
from sersync.
inotify最多监控5千万个文件夹,你的不可能比这个多吧?
Original comment by [email protected]
on 9 May 2010 at 9:36
from sersync.
我也出现了这个问题,同样的东西,在32位CENTOS
5.4上同步目录及子目录下的文件和目录都没
有问题,但在64位就只能同步当前目录的文件,子目录的不能
同步,作者能不能查一下原因?
急。。。
Original comment by [email protected]
on 17 May 2010 at 9:59
from sersync.
我的也是同步不了子目录以及子目录下的文件
Debian GNU/Linux 5.0 \n \l
Original comment by [email protected]
on 22 Jun 2010 at 10:34
from sersync.
我的也是同步不了子目录以及子目录下的文件
Debian GNU/Linux 5.0 \n \l
补充下我的也是64位
Original comment by [email protected]
on 22 Jun 2010 at 11:06
from sersync.
Related Issues (20)
- 调试Sersync出现boost 错误 HOT 1
- cpu占用100%,-n 参数无效 HOT 1
- 父目录下的内容也被同步了?
- errno 列表问题
- 怎么在同步文件的同时指定同步后的文件用户组
- 关于双向备份的问题 HOT 2
- 过滤不好使,请问是什么原因
- 失败日志问题
- sersync2 2.5 32bit 同步大文件 问题 HOT 2
- 改为多目录支持后遇到的问题 HOT 1
- 对大量文件同步的时候在/tmp/总会生成rsync_fail_log.sh
- 添加 attrib 监控导致程序异常退出。
- 请问:当修改Sersync配置后,以Daemon 运行的Sersync如何加载新的配置?
- 请问这样的类似报错是什么原因,刚接触,请多指教。
- 对sshfs挂载目录监控不能实现
- crontab 设置了10分无效,同步时还是实时同步 HOT 2
- 关于ssh key同步的问题
- sersync2 chown 时崩溃 HOT 1
- 使用rsync -e ssh的方式进行传输,不能设置其它端口
- 最新版2.5.4 不能监控到目录下的文件生成事件
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sersync.