Setup_hardisk lvm Cannot determine size

Tsapline Sylvain stsapline at prosodie.com
Mon Apr 7 16:14:27 CEST 2008


hello

I've been trying the last SVN version of parser.pm

It seems you missed a couple of brace ;)


# diff -hu parser.pm  /appli/fai-deb4-amd64/config/store/lib/parser.pm
--- parser.pm   2008-04-07 15:07:38.000000000 +0200
+++ /appli/fai-deb4-amd64/config/store/lib/parser.pm 2008-04-07
16:03:01.000000000 +0200
@@ -546,7 +546,7 @@
                 my $short_dev = $FAI::disks[ $1 - 1 ];
                 my $part_no = $2;
                 $dev = "/dev/$short_dev";
-                if ($dev =~
m{^/dev/(cciss/c\dd\dp|ida/c\dd\dp|rd/c\dd\dp|ataraid/d\dp)$}) $dev =
"${dev}p";
+                if ($dev =~
m{^/dev/(cciss/c\dd\dp|ida/c\dd\dp|rd/c\dd\dp|ataraid/d\dp)$}) { $dev =
"${dev}p";}
                 $dev = "$dev$part_no";
               } else {
                 $dev = "/dev/$dev";


I'll try up some LVM setup on a HP G5 and i'll get back to you


Regards

Sylvain



More information about the linux-fai mailing list