GlusterFS可以在同步之后通知吗? [英] Can GlusterFS notifies after synchronizations?
本文介绍了GlusterFS可以在同步之后通知吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- 有一种方法可以在同步完成时得到通知客户端还是服务器?例如,是否有同步记录在某处?
- 假设我想同步一个整个目录,它是按文件同步还是一次?如果我想在同步目录中使用inotify之类的东西,这实际上是一个重要的信息。 GlusterFS不是文件同步工具,它是一个虚拟文件系统。它通过聚合多个服务器上的本地存储,然后通过FUSE安装或直接通过客户端API使统一存储可用于客户端。
- Is there a way I can get notified when a synchronization has finished on a client or a server ? For instance, are synchronizations logged somewhere ?
- Let's say I want to synchronize a whole directory, will it be synchronized file by file or once for all ? This can actually be an important information if I want to use things like inotify on synchronized directories.
当您将文件写入复制的GlusterFS音量文件同时写入所有副本,没有同步延迟。
I have several questions about the way GlusterFS synchronizes files.
解决方案
GlusterFS is not a file sync utility, it is a virtual filesystem. It works by aggregating local storage on several servers then making the unified storage available to clients via FUSE mounts or directly through a client API.
When you write files into a replicated GlusterFS volume the files are written to all replicas at the same time, there is no sync delay.
这篇关于GlusterFS可以在同步之后通知吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文