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

My lvmsync process is failing at this point just want to know what is the use of it. what if we are seeking more than the block size. #61

Closed vengateshsubramaniyan closed 4 years ago

vengateshsubramaniyan commented 4 years ago

https://github.com/mpalmer/lvmsync/blob/4b3bf6e924d16ec4e187ac19889b76747eb096ae/lib/lvm/snapshot.rb#L56

vengateshsubramaniyan commented 4 years ago

Can someone help me to understand what's the use of this?. Do we need a exception handling at the point.

vengateshsubramaniyan commented 4 years ago

Have one more question, Is it possible to transfer the data over netcat or instead of ssh

mpalmer commented 4 years ago

If you're getting an exception at that point, that means that your metadata format is not one that lvmsync understands (see the comment on lines 32-37. PRs welcome.