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

Add a --readfrom option to specify the source device #17

Closed AnchorCat closed 9 years ago

AnchorCat commented 10 years ago

Instead of always reading from the origin volume, let the user specify which device to use for reading. This enables reading the differences between two snapshots, allowing the origin to continue being actively used while still getting a consistent image.

mpalmer commented 9 years ago

This patch suffered from bitrot a bit, so I had to make a different implementation, but there is now (as of the freshly-released 3.2.0) a --data-source option, which takes a block device (not an LV name, as your patch did).