Red Hat Bugzilla – Bug 826069
qcow2 image not detected correctly by lvm
Last modified: 2012-05-30 11:40:58 EDT
Description of problem:
When I tried to install RHEL6 as a guest on RHEL6 host with qcow2 image as a storage, the graphics installer ends with:
1. auto-partitioning - message "no enough space to install"
2. manual partitioning - it refuse /dev/vda1 for creating LVM volume group (but is there available)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. qemu-img create -f qcow2 rhel6_64.img 10G
2. set that image in guest and boot RHEL6 from PXE
3. go over graphical installation process
4. try to repartition automatically or by hand
/dev/vda is not detected by LVM manager correctly => system cannot be installed
system can be installed on qcow2 images
The workaround is to create raw image, install RHEL and then convert it into qcow2 format - I tested this.
Created attachment 587419 [details]
Created attachment 587420 [details]
Created attachment 587421 [details]
Can you also attach syslog and program.log? Thanks.
Created attachment 587444 [details]
I haven't syslog backed up from this run. Sorry. But I can reproduce it againt, if it still can help.
Also, I found my mistake while I did it by hand. By hand it's installable without problem. The problem with auto-repartitioning is still here.
Please attach your kickstart config script.
What is the exact error or failure you are seeing? Is the problem that your %pre script is failing or what?
As I wrote, I did manual install - graphical one, there was no kickstart used. Installation ask you for type of installation - I choose first option "Use All Space".
After that you can see "Error Partitioning" titled window with message: "not enough space for LVM requests. Press 'OK' to exit the installer".
> Interactive in the kickstart sense means it takes the kickstart file, applies
> it, and then allows you to step through the graphical install anyway and make
> changes. It is also extremely error prone and we don't recommend people use it.
> My suggestion is you try the same install without the "interactive" line in the
> kickstart file and see if that clears everything up.
I tried same install without interactive and it's working without any problem. Then the problem should be with that interactive ks file, which was used from PXE. It can be installed with manual partitioning anyway. Thx for explanation. Please close this bug.