Bug 770328
Summary: | Failed to resize raw format image on iscsi disk | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Qunfang Zhang <qzhang> | ||||||
Component: | qemu-kvm | Assignee: | Ademar Reis <areis> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.3 | CC: | agrover, bgoncalv, chayang, dyuan, jen, juzhang, michen, mkenneth, pbonzini, qzhang, rbalakri, rpacheco, tburke, virt-maint | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-04-13 14:51:13 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: | |||||||||
Bug Blocks: | 803608 | ||||||||
Attachments: |
|
Description
Qunfang Zhang
2011-12-26 03:08:19 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4. This is because the iSCSI target does not report changes to the capacity of the disk. I'm not sure that this can be fixed, so let's reassign the bug for triaging. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. *** Bug 803608 has been marked as a duplicate of this bug. *** Created attachment 1082273 [details]
screenshot -1
And sometimes, can not create a volume on the "new created" 1G disk. Please check the following screenshot-2. Created attachment 1082274 [details]
screenshot -2
I don't think this is an iscsi target issue because we're only using iscsi to export the entire 80G LUN to the guest. From tgt's perspective nothing is getting resized. I'm not a qemu expert but using 'qemu-img create' on block devices (the LVs) instead of files seems unconventional. You don't need qemu-img to create a raw image in the LV because the LV already is a block device you can give to the guest. The most straightforward way would be to create a 1G LV like you're doing, and then to resize later, use lvresize, and then the guest would see a 2G volume and then could extend any fs or partition in the volume from the original size. Rassigning back to qemu. |