Hi,<div><br></div><div>Apologies for the late reply. Here is the result of the command:</div><div><br></div><div><div>qemu-img info staging.img</div><div>image: staging.img</div><div>file format: raw</div><div>virtual size: 195G (209715200000 bytes)</div>
<div>disk size: 196G</div><div><br></div><div>Yes. I am looking to reduce this size to 100G.</div><div><br></div><div>Thanks!</div><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 7:35 AM, Thomas Smith <span dir="ltr"><<a href="mailto:theitsmith@gmail.com">theitsmith@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I see. So we are looking to decrease the size, not increase it. (I also assumed we were talking about a disk image.)<div>
<br></div><div>OP, what are you using as the backing storage device? That is, are you using a disk image or a block device?</div>
<div><br></div><div>If you are using a disk image, what format is the image? QCOW2? RAW? Something else?</div><div>* Use "qemu-img info disk.img" to determine this. Execute this command on the host.</div><div><br>

</div><div>If you are using a block device, knowledge of your file system structure (on the host) will be necessary.</div><div><div></div><div class="h5"><br><div class="gmail_quote">On Sun, Feb 6, 2011 at 1:14 PM, Kenni Lund <span dir="ltr"><<a href="mailto:kenni@kelu.dk" target="_blank">kenni@kelu.dk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2011/2/6 Thomas Smith <<a href="mailto:theitsmith@gmail.com" target="_blank">theitsmith@gmail.com</a>>:<br>
> I am coming into this discussion a little late, so apologies if I ask for<br>
> any information previously provided.<br>
> I can help you with this, but I'll need to know the domU's file system<br>
> layout to do so. Can you send the output of the following commands?<br>
> * fdisk -l<br>
> * mount<br>
> * df -h<br>
> And if you're using LVM:<br>
> * vgdisplay<br>
> * lvdisplay<br>
<br>
KVM not Xen according to original post - and the partition in the<br>
guest has already been resized with gparted, so no reason to perform<br>
any more actions within the guest - only thing missing is to resize<br>
the qemu image on the host (I assume the OP is using regular<br>
file-based images in virt-manager as nothing has been mentioned about<br>
this, eg. not iSCSI, NFS, LVM, etc.).<br>
<div><div></div><div><br>
Best regards<br>
Kenni<br>
_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org" target="_blank">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div>-- <br><div>Thomas Smith</div><div>Cell:
 602-882-2917</div><br>
</div>
<br>_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
<br></blockquote></div><br></div>