Thanks Andrea-
it may be some time before I get another chance to test this.  I had to have the machines up last week so I rebuilt my golden machine from scratch w/o LVM, and all was well.  I'll certainly test this at the next opportunity though.  Will this patch make the 3.6.3 release?
thx-

    Jeremy

Andrea Righi wrote:
Jeremy,

the attached patch should fix the problem. You can check it applying the patch directly to the source:

patch -p0 < systemimager-lvm-fix.patch

Let me know if it works.

Thank you for the bug report,
-Andrea

Index: lib/SystemImager/Server.pm =================================================================== --- lib/SystemImager/Server.pm (revision 3399) +++ lib/SystemImager/Server.pm (working copy) @@ -1413,8 +1413,9 @@ print $out qq(mkraid --really-force $real_dev || shellout\n) unless (defined($xml_config->{raid})); } elsif( $real_dev =~ /^(.*?)(p?\d+)$/ ) { - unless($dev2disk{$1}) { next; } - $real_dev = "\${".$dev2disk{$1}."}".$2; + if ($dev2disk{$1}) { + $real_dev = "\${".$dev2disk{$1}."}".$2; + } } # swap


Reply via email to