Hi,

if you have Pacific or later running you might want look into CephFS mirroring [1]. Basically, it's about (asynchronous) snapshot mirroring:

For a given snapshot pair in a directory, cephfs-mirror daemon will rely on readdir diff to identify changes in a directory tree. The diffs are applied to directory in the remote file system thereby only synchronizing files that have changed between two snapshots. This feature is tracked here: https://tracker.ceph.com/issues/47034. Currently, snapshot data is synchronized by bulk copying to the remote filesystem.

Regards,
Eugen

[1] https://docs.ceph.com/en/latest/dev/cephfs-mirroring/

Zitat von zxcs <zhuxion...@163.com>:

Hi, Experts,

we already have a CephFS cluster, called A, and now we want to setup another CephFS cluster(called B) in other site. And we need to synchronize data with each other for some directory(if all directory can synchronize , then very very good), Means when we write a file in A cluster, this file can auto sync to B cluster, and when we create a file or directory on B Cluster, this file or directory can auto sync to A Cluster.

our question is does there any best practices to do that on CephFS?

Thanks in advance!


Thanks,
zx
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to