mpalmer / lvmsync

Synchronise LVM LVs across a network by sending only snapshotted changes
http://theshed.hezmatt.org/lvmsync
GNU General Public License v3.0
380 stars 60 forks source link

LVM Thins support #53

Closed sirio81 closed 7 years ago

sirio81 commented 7 years ago

Hi, this is more a question than a bug report. Does lvmsync sipport lvm-thin?

Thank you.

mpalmer commented 7 years ago

Yes.

sirio81 commented 7 years ago

Thank you. There's a thing to clear maybe in the documentation.

# Pre-sync all data across -- this will take some time, but while it's
# happening the VM is still serving traffic.  pv is a great tool for
# showing you how fast your data's moving, but you can leave it out of
# the pipeline if you don't have it installed.
dd if=/dev/vmsrv1/somevm-lvmsync bs=1M | pv -ptrb | ssh root@vmsrv2 dd of=/dev/vmsrv2/somevm bs=1M

Doing that I'm going to allocate all the logical volume space in the destination.