Subscribe

Seeking for a tool to sync data between two file system (volumes) on host.

[ Edited ]

It seems that clone split takes VERY long time, and plus the data we are interested in only a portion of data on the volume. So, I am seeking a tool to sync data, which will sync data non-disruptively, then may be a short period of disrution in last update.

 

Are there such tool on Linux server? Can  "rsync" do that? I'd appreciate it if you could provide detailed steps/options.

 

Thanks!

Re: Split a clone to a regular volume, is this a transparent process?

If you mean non-disruptive, then yes it is.  It can take quite a while to complete.

Re: Seeking for a tool to sync data between two file system (volumes) on host.

The sync part is easy for rsync; with the proper set of parameters, it can sync in a variety of ways.

 

The non-disruptive part, however, would be a problem.  Your best bet may be to programatically handle the final sync yourself.  You could run an rsync on a live database to copy over what could be done, then quiesce the database/application, flush the data to the volume if need be, and then run a final 'rsync --inplace' to grab the updated blocks.