rolffokkens / bdsync

a fast block device synchronizing tool
GNU General Public License v2.0
109 stars 26 forks source link

bdsync server does not terminate on receiving server #29

Open gwkant opened 3 years ago

gwkant commented 3 years ago

Hello,

I use bdsync to sync LVMs from one Linux server (hosta) to another (hostb). My command on hosta is as follows:

ionice -c 3 bdsync "ssh hostb /usr/local/sbin/bdsync -s" /dev/vg0/lvm1 /mnt/btrfs_pool/backup/lvm1 -z -t | gzip >$patchfile

The problem I observe is that often, the bdsync server process on hostb is not terminated at the end of the sync. If this happens, the bdsync process on hosta has terminated whereas on hostb the "bdsync -s" keeps running on a CPU.

Any ideas?

rolffokkens commented 1 year ago

Sorry for my slow response. We're making lots of backups the same way, and I never run into this issue. As far as I know anyway. I need to have a closer look if we really-really don't run into the issue.