[...] > > > By the way, for fai-client 3.2.8 is it normal that installation fails if > a target hard drive contains LVM volume? I'm just wondering is this a > bug or a feature. The same disk layout configuration works if I erase a > couple of megabytes in the beginning of the disk. > > I haven't looked closely on how to disable this behaviour and so far > It's been a minor annoyance, > > Here is an exempt of a log file: > [...]
This has been reported before, but you're the first to provide a log - thanks!!! Could you please apply the attached patch to /usr/lib/fai/setup-storage/Volumes.pm in your NFSROOT and retry? Quite likely there are some more bugs hidden in the respective code, but the logs will likely help to fix this quite soon. Thanks a lot, Michael
Index: Volumes.pm
===================================================================
--- Volumes.pm (revision 4998)
+++ Volumes.pm (working copy)
@@ -317,8 +317,10 @@
# store the physical volumes
my %pv_info = get_physical_volume_information($vg);
- @{ $FAI::current_lvm_config{$vg}{physical_volumes} } =
- sort keys %{ get_physical_volume_information($vg) };
+ foreach my $pv_name (sort keys %pv_info) {
+ push @{ $FAI::current_lvm_config{$vg}{physical_volumes} },
+ %pv_info{$pv_name}{device};
+ }
}
}
pgpMel3Vd9IgK.pgp
Description: PGP signature
