[Libguestfs] KVM Image not working after expansion

Matthew Booth mbooth at redhat.com
Thu Feb 2 13:48:03 UTC 2012


On 02/02/2012 09:51 AM, vipul borikar wrote:
> Hello,
>           I expanded a KVM image of 4gb to 10 gb ....
>
> My Host machine is RHEL 6.1  and Guest is RHEL 5.5
>
> Command i used is:
> virt-resize --expand /dev/sda1 RHEL5.5-64bit.img RHEL5.5-10gb
>
> Commands successfully gets executed...
>
> Old disk works fine i mean it boots properly but the new disk stucks at
> GRUB...
> Has any one seen this behavior...
> What should i do to debug this problem..

Could you please provide the output of your virt-resize command run with 
the '-d' parameter. Could you please also provide the output of the 
following commands:

guestfish -a RHEL5.5-64bit.img run : part-list
guestfish -a RHEL5.5-10gb run : part-list

Thanks,

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list