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.. -- Thanks Vipul Borikar "Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whole of nature and its beauty." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120202/269bdc58/attachment.htm>
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
Richard W.M. Jones
2012-Feb-02 20:07 UTC
[Libguestfs] KVM Image not working after expansion
On Thu, Feb 02, 2012 at 03:21:10PM +0530, 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..I would first suggest trying the latest virt-resize. There are preview packages available: http://people.redhat.com/~rjones/libguestfs-RHEL-6.3-preview/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora