How To Install bdsync on CentOS 7
Introduction
In this tutorial we learn how to install bdsync
on CentOS 7.
What is bdsync
Bdsync can be used to synchronize block devices over a network. It generates a “binary patchfile” in an efficient way by comparing MD5 checksums of 32k blocks of the local block device LOCDEV and the remote block device REMDEV. This binary patchfile can be sent to the remote machine and applied to its block device DSTDEV, after which the local blockdev LOCDEV and the remote block device REMDEV are synchronized. bdsync was built to do the only thing rsync isn’t able to do synchronize block devices.
We can use yum
or dnf
to install bdsync
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install bdsync.
Install bdsync on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install bdsync
using yum
by running the following command:
Install bdsync on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install bdsync
using dnf
by running the following command:
How To Uninstall bdsync on CentOS 7
To uninstall only the bdsync
package we can use the following command:
References
Summary
In this tutorial we learn how to install bdsync
on CentOS 7 using yum
and dnf
.