Can GlusterFS notifies after synchronizations?

2019-06-08 05:58发布

问题:

I have several questions about the way GlusterFS synchronizes files.

  • 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.

回答1:

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.