mpalmer / lvmsync

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

Fix for VG/LV names containing hyphens and/or dots #20

Closed AnchorCat closed 10 years ago

AnchorCat commented 10 years ago

This patch both adds hyphens and dots to the allowed characters for a variable name in the vgcfgbackup parser, and correctly translates hyphenated VG/LV names into COW device names.

This pull request supercedes https://github.com/mpalmer/lvmsync/pull/16, and I will be closing that pull request momentarily with a link to this one.

mpalmer commented 10 years ago

I've ended up with the equivalent of this PR through a variety of other merges and commits. So I'll close this off.