Le vendredi 30 octobre 2009 à 13:52 +0100, Mathieu Alorent a écrit :
> 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!!!
> so sorry, i've tested with the wrong nfsroot !!! it's doesn't works... here is the results: Calling task_install Calling task_partition Partitioning local harddisks using setup-storage Starting setup-storage 1.1.1+exp Using config file: /mnt/disk_config/BACKUP Executing: parted -s /dev/sda unit TiB print Command parted -s /dev/sda unit TiB print had exit code 1 Executing: parted -s /dev/sda unit B print free Command parted -s /dev/sda unit B print free had exit code 1 Executing: parted -s /dev/sda unit chs print free Command parted -s /dev/sda unit chs print free had exit code 1 Use of uninitialized value in numeric eq (==) at /usr/share/fai/setup-storage//Volumes.pm line 282. Use of uninitialized value in numeric gt (>) at /usr/share/fai/setup-storage//Volumes.pm line 284. Invalid end byte Error in task partition. Traceback: task_error task_partition task task_install task task_action task main FATAL ERROR. Installation stopped. bash: no job control in this shell sorry again... -- 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
smime.p7s
Description: S/MIME cryptographic signature
