[libvirt] [PATCH] Fix lv scanning with encrypted volumes

Cole Robinson crobinso at redhat.com
Wed Nov 12 21:37:16 UTC 2008


See https://bugzilla.redhat.com/show_bug.cgi?id=470693

Using ':' as a delimiter for the lvs command isn't reliable,
since it looks like encrypted volume groups have a colon in
the physical device name, which throws of the regex. The
attached patch changes the delimiter to ','.

Maintains existing behavior for me, just waiting on
confirmation from the reporter that this indeed does the
job.

Thanks,
Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-lvs-separator.patch
Type: text/x-patch
Size: 2513 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081112/99d596fd/attachment-0001.bin>


More information about the libvir-list mailing list