| Summary: | guest rhel6.1 installation fails when qcow2 images size <=5G | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | FuXiangChun <xfu> | ||||||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 6.2 | CC: | juzhang, kwolf, michen, mkenneth, virt-maint | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2011-09-06 17:44:02 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
|
Description
FuXiangChun
2011-09-05 03:29:07 UTC
Created attachment 521425 [details]
guest installation process snapshot
Does the guest see the correct disk size, e.g. in the partitioner? If so, this is not a qcow2 bug, but just what would happen on raw images or even real hardware, too. (In reply to comment #2) > Does the guest see the correct disk size, e.g. in the partitioner? > > If so, this is not a qcow2 bug, but just what would happen on raw images or > even real hardware, too. 1.if image is raw format, it has the same issue. 2.use 5G size iscsi block to create 10G size qcow2 images and install guest, installation work well. # lvscan ACTIVE '/dev/test/data2' [5.00 GiB] inherit # qemu-img info /dev/test/data2 image: /dev/test/data2 file format: qcow2 virtual size: 10G (10737418240 bytes) disk size: 0 cluster_size: 65536 Please attach /tmp/anaconda.log and /tmp/storage.log from during installation to this bug report. Created attachment 521558 [details]
anaconda log file
Created attachment 521559 [details]
storage log file
5G is still not enough disk space to perform an installation using automatic partitioning and including the desktop package group. Automatic partitioning sets up a /boot volume of 500M, the rest is then in a volume group. The logical volumes include swap, /, and /home. /boot and swap are created along with the other filesystems. Installation cannot continue because your / filesystem lacks enough space. The reason your qcow2 image is 2.6G is because of swap space being allocated and the other filesystems being allocated. I would argue that it's a bug in the automatic partitioner if the hard disk is big enough to actually contain an installation and only the partitioning makes it impossible to fit. But the user specifically requested the desktop group. We don't look at a system and say, "ehhh, it's not really big enough for what you asked for, so we're just going to deselect some stuff so some other stuff will fit." The error reported in the screenshot in comment #1 tells you why we can't continue. The installation guide explains what partitions the automatic partitioning will allocate and how. |