LVM on an entire disk
Mathieu Alorent
malorent at echo.fr
Thu Oct 29 16:26:55 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
>
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
--
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: format.log
Type: text/x-log
Size: 5694 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20091029/a95b8e25/attachment-0002.bin
-------------- 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/a95b8e25/attachment-0003.bin
More information about the linux-fai
mailing list