LVM on an entire disk

Mathieu Alorent malorent at echo.fr
Thu Oct 29 16:20:15 CET 2009


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
> 

yes, this is tested and in production here.

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

Tél: 04 97 12 6226

malorent.ext at orange-ftgroup.com

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4892 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20091029/0eb20420/attachment.bin 


More information about the linux-fai mailing list