Bug 1021037
Summary: | IOException: Input/output error during read on /dev/vda | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Wildeboer <jwildebo> |
Component: | virt-manager | Assignee: | Giuseppe Scrivano <gscrivan> |
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4 | CC: | acathrow, codong, dallan, dyuan, jwildebo, lcui, mkletzan, mzhan, tzheng, zsong |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:6852403013798c489193d11fec5823896c9150f9a324325a1f847c3cd41fbedc | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-04-30 07:24:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1000980 | ||
Bug Blocks: |
Description
Jan Wildeboer
2013-10-18 20:05:00 UTC
This happened when I created a LV ion virt-manager. Repeatedly. Solution: Create the LV manually and use that LV in virt-manager. After I did that, the VM installed properly. Background: On a HP N40L Microserver, with 2x 2TB drives as a RAID1 with a VG spanning the whole 2 TB. (In reply to Jan Wildeboer from comment #2) > This happened when I created a LV ion virt-manager. Repeatedly. > > Solution: Create the LV manually and use that LV in virt-manager. After I > did that, the VM installed properly. Hi Jan, so just to make sure I'm understanding what happened: You created a VM with virt-manager, then tried to create the LV to back the VM's vda with virt-manager, but when you went to install the guest anaconda threw an exception. If you create the LV manually and then hand the manually created LV to the VM as vda's backing storage, everything works as expected. Do I have that right? Yes, that is correct. It seems to be the (rather confusing) option in the LV creation dialog with Max Capacity versus Allocation. When I set Max Capacity to something (say 8000 MB), the Allocation stays at 0. And things go wrong. However, I guess I just have to set Allocation to a non-zero value to avoid this problem. IMHO the allocation field should default to Max Capacity to avoid this problem. Just tested. And yes. When Allocation is set to a non-zero value, the problem doesn't show up. Suggestion: Either set Allocation to a fitting non-zero value or (better IMHO) sync Allocation to Max Size, just as we do with memory setting. At the very least setting Allocation to zero should cause an error as it is a non-working configuration. This seems to be fixed upstream already using the sync option. This is fixed upstream with: commit 590c8dbebfddb71874de7a98e579264ebae6859f Author: Martin Kletzander <mkletzan> Date: Tue Apr 2 13:51:28 2013 +0200 Don't support sparse logical volumes *** This bug has been marked as a duplicate of bug 1000980 *** |