[CentOS] C6 VM text install not recognizing LV

Fri Sep 7 18:30:28 UTC 2012
James B. Byrne <byrnejb at harte-lyne.ca>

On Thu, September 6, 2012 14:58, Leonard den Ottolander wrote:
> Hi,
>
> I am trying to install a C6 VM on C6 using the text installer using:
>
> # virt-install -n C6_1 -r 3072 --os-variant=rhel6 -l \
> ftp://ftp.nluug.nl/site/centos.org/CentOS/6.3/os/x86_64/ --disk \
> path=/dev/VG1/vm_c6_1 -w network:default --nographics \
> -x "console=ttyS0" --autostart
>
> /dev/VG1/vm_c6_1 has been successfully created. The installation
> starts
> but once I get to the disk partitioning no disk is listed and I cannot
> continue the installation.
>
> Even worse, if I press space on the empty list CPU usage goes up to
> 100% for the qemu-kvm process.
>

WAG?  Is there a partition on the lv that the installer can find?  I
run into this all the time when using an lv storage pool and an lv
based virtio drive. I first have to fdisk the newly allocated drive
and do a partprobe before the vm guest will recognize that it has the
space.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3