Hi Ashley: Have you checked against the code in SVN? This might already be fixed?
Cheers, Bernard > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Ashley Gould > Sent: Monday, March 13, 2006 12:17 > To: [email protected] > Subject: [Sisuite-users] bug in LVM creation in 3.6.2-1 rpms > > First off let me say the 3.6.2-1 rpms work beautifully on > SLES9 x86-64. > I only encountered this one problem. Great Work! > > Creation of LVM volume groups fail during autinstall because > device mapper cannot create /dev/mapper/<vg_name> files - they > already exist in initrd. > > When si_prepareclient compiles files for the UYOK initrd.img, it > copies all of dev, including files previously created by LVM > device mapper > (e.g. /dev/system). Trouble is when autoinstall scripts attempt to > create the 'system' volume group, it fails because the /dev/system > directory already exists. > > > I added a piece of code to UseYourOwnKernel.pm which strips these out: > > hvxen-0c:~ # diff -Naur > /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm > /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm.dist > --- > /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm > 2006-03-13 12:03:24.807846378 -0800 > +++ > /usr/lib/systemimager/perl/SystemImager/UseYourOwnKernel.pm.di > st 2006-03-13 11:27:00.047854543 -0800 > @@ -97,19 +97,6 @@ > $cmd = qq(rsync -a /dev/ $staging_dir/dev/); > !system( $cmd ) or die( "Couldn't $cmd." ); > > - # > - # Remove LVM device mapper files from $staging_dir/dev > - # > - $cmd = qq(vgs --noheadings --separator S --options > vg_name 2>/dev/null); > - open(VG, "$cmd|"); > - foreach my $vg_name (<VG>) { > - chomp $vg_name; > - $vg_name =~ s/^\s+//; > - my $find_cmd = qq(find $staging_dir/dev/ -name > "$vg_name*" | xargs rm -rf); > - !system( $find_cmd ) or die( "Couldn't $find_cmd" ); > - } > - close(VG); > - > # > # Dir in which to hold stuff. XXX dannf where > should this really go? > # > > > > > > > -- > > -ashley > > Did you try poking at it with a stick? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > Sisuite-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sisuite-users > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
