LVM on an entire disk
Michael Tautschnig
mt at debian.org
Thu Oct 29 16:09:20 CET 2009
[...]
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20091029/42577a3d/attachment.bin
More information about the linux-fai
mailing list