Le vendredi 30 octobre 2009 à 12:15 +0100, Mathieu Alorent a écrit :
> Le vendredi 30 octobre 2009 à 11:42 +0100, Michael Tautschnig a écrit :
> > > Le jeudi 29 octobre 2009 à 16:09 +0100, Michael Tautschnig a écrit :
> > > > [...]
> > > > 
> > > > > 
> > > > > I have patched setup-storage to handle LVM on an entire disk like 
> > > > > this:
> > > > > file: usr/share/fai/setup-storage/Parser.pm near lines 607
> > > > > 
> > > > >               if ($dev =~ m/^disk(\d+)\.(\d+)/) {
> > > > >                 $dev = &FAI::make_device_name("/dev/" . $FAI::disks[ 
> > > > > $1
> > > > > - 1 ], $2);
> > > > > +              } elsif ($dev =~ m/^disk(\d+)/) {
> > > > > +               $dev = "/dev/" . $FAI::disks[ $1 - 1 ];
> > > > >               } else {
> > > > >                 $dev = "/dev/$dev";
> > > > >               }
> > > > > 
> > > > > Hope this will (or has already) be(en) integrated in next release :)
> > > > > 
> > > > 
> > > > Did you actually test/use it like this? If so, I'll get it in in a few 
> > > > moments.
> > > > 
> > > > Best,
> > > > Michael
> > > > 
> > > 
> > >   
> > > However, this need to be fixed...
> > > 
> > > Executing: udevsettle --timeout=10 && parted -s /dev/sdb set -1 lvm on
> > > Command udevsettle --timeout=10 && parted -s /dev/sdb set -1 lvm on had
> > > exit code 1
> > > 
> > 
> > Could you try experimental version 3.2.23~beta35+experimental1, which was 
> > just
> > built? This one includes your proposed patch and a fix for this problem. I
> > didn't spot any other things that need to be fixed, but then again I 
> > couldn't
> > test this release either. Therefore any feedback is appreciated. I don't 
> > think
> > that patch will be included in the next release of FAI mainline, but any 
> > release
> > thereafter should include it.
> > 
> > Best,
> > Michael
> > 
> 
> I'll try to test 3.2.23~beta35+experimental1, as soon as possible !
> 

Ok, tested, and works as expected... :)
thx!!!

-- 
Mathieu Alorent
Shell&Core Sophia-Antipolis
AUSY
Pour France Telecom – OPF/PORTAILS/DOP/HEBEX/SOPHIA

Tél: 04 97 12 6226

[email protected]

La signature de ce mail peut être vérifiée en installant les autorités de 
certifications CAcert suivantes :
http://www.cacert.org/certs/root.crt
http://www.cacert.org/certs/class3.crt

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Antwort per Email an