fai: Unexpected vgdisplay output

Michael Tautschnig mt at debian.org
Tue Jan 13 00:48:02 CET 2009


> Hi,
> 
> 
>  I tried to test my new fai server.
> 
> The installation on the client ist aborted.
> I added the (compressed) file "fai.log" to this message...
> 
> Here is a test on my client:
>  vgdisplay --units m -s > vgdisplay_stdout.txt 2> vgdisplay_stderr.txt
> 
> The output (of "cat vgdisplay_stderr.txt") is shown here:
>   WARNING: Physical Volume /dev/hda5 is too large for underlying device
> 
> Does anyone know a solution of this problem?
> 

Hmm, the hand-written parser didn't expect a value of 0 MB free, it expects
there to be some x.y MB free. Until this is fixed (well, the experimental
packages already contain a fix in that they don't use the hand-written parser
anymore), please just change line 313 of
$NFSROOT/live/filesystem.dir/usr/share/fai/setup-storage/Volumes.pm to

/^\s*"(\S+)"\s+\d+\.\d+ MB\s+\[\d+\.*\d* MB\s+used \/ \d+(\.\d+)? MB\s+free\]$/

HTH,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20090113/751dbcdc/attachment.bin 


More information about the linux-fai mailing list