LVM: Fai aborts on gvdisplay

Michael Tautschnig mt at debian.org
Sat Jun 13 15:48:24 CEST 2009


> Hello!
> 
> I am trying to reinstall some redhat boxes with Debian using fai.
> Redhat makes an extensive use of LVM.
> Thus, the LVM metadate is still availabe, when installing with fai.
> The problem is, that on the LVM system, the installation fails:
> 
> With 3.2.16/3.2.17 I get this error:
> 
> --------------------------------------------------------------------------------
> Executing: vgdisplay --units m -v sysvg
> Unexpected vgdisplay output   "vg1" 12800.00 MB [12800.00 MB used / 0 MB free]
> Traceback: task_error task_partition task task_install task task_action task main
> --------------------------------------------------------------------------------
> 

This is a problem of the hand-written parser, which has been fixed in later
versions.

> With 3.2.20 I get this error:
> --------------------------------------------------------------------------------
> Executing: /lib/udev/vol_id -u /dev/hda3
> Command /lib/udev/vol_id -u /dev/hda3 had exit code 4
> Failed to obtain UUID for /dev/hda3
> Error in task partition. Traceback: task_error task_partition task task_install task task_action task main
> --------------------------------------------------------------------------------
> 
> With 3.2.20 I also get a lot of errors telling me that
> udevsettle is not available:
> --------------------------------------------------------------------------------
> Command udevsettle --timeout=10 && parted -s /dev/hda mkpart primary xfs 44095726080B 82343278079B had exit code 127
> Executing: udevsettle --timeout=10 && mkswap  /dev/hda2
> sh: udevsettle: command not found
> --------------------------------------------------------------------------------
> 

[...]

As we use udevsettle && the second command will never get executed. I'll try to
come up with a fix as soon as possible (it's not that hard, just gotta do it).

Best,
Michael

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


More information about the linux-fai-devel mailing list