Re: Re-sizing qcow2 images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Chandana De Silva" <chandana@xxxxxxxxxxxxx> wrote:

| From: "Chandana De Silva" <chandana@xxxxxxxxxxxxx>
| To: "Rajesh Kumar Mallah" <mallah@xxxxxxxxxxxxxx>
| Cc: libvirt-users@xxxxxxxxxx
| Sent: Sunday, October 28, 2012 3:35:05 PM
| Subject: Re:  Re-sizing qcow2 images
|
| Hello Rajesh,
| 
| Thanks for the the suggestions.
| 
| 
| On 28/10/12 17:43, Rajesh Kumar Mallah wrote:
| > If you have a spare guest you may consider temporarily attaching the
| said cow2  image to that guest

| Do you mean detach from guest A and attach to guest B ?


Yes.


| > and use the partition tools (like parted , fdisk,cfdisk etc)
| > and filesystem tools (like xfs_grow , resize2fs etc) to grow the
| filesystem.
| Assuming it will be possible to detach and attach, I still have the 
| problem of parted giving the incompatible feature error. These disk
| have GPT partitions so I can use fdisk

I am not sure about the "incompatible feature error" . May be you could try 
fdisk or cfdisk. It is usually a good idea to "free" the device before 
doing partition resizes. We had done it (resizing cow2) once and it was 
successful , we had to although convert from cow2 to raw , append a new 
dd'ed file and user fdisk over the raw image. eventually it worked.

what is the size of your cow2 device if its not huge you may consider backing it
up and restore to a larger device.

hope it helps.

mallah.



_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux