Hi, Apologies for the late reply. Here is the result of the command: qemu-img info staging.img image: staging.img file format: raw virtual size: 195G (209715200000 bytes) disk size: 196G Yes. I am looking to reduce this size to 100G. Thanks! On Mon, Feb 7, 2011 at 7:35 AM, Thomas Smith <theitsmith at gmail.com> wrote: > I see. So we are looking to decrease the size, not increase it. (I also > assumed we were talking about a disk image.) > > OP, what are you using as the backing storage device? That is, are you > using a disk image or a block device? > > If you are using a disk image, what format is the image? QCOW2? RAW? > Something else? > * Use "qemu-img info disk.img" to determine this. Execute this command on > the host. > > If you are using a block device, knowledge of your file system structure > (on the host) will be necessary. > > On Sun, Feb 6, 2011 at 1:14 PM, Kenni Lund <kenni at kelu.dk> wrote: > >> 2011/2/6 Thomas Smith <theitsmith at gmail.com>: >> > I am coming into this discussion a little late, so apologies if I ask >> for >> > any information previously provided. >> > I can help you with this, but I'll need to know the domU's file system >> > layout to do so. Can you send the output of the following commands? >> > * fdisk -l >> > * mount >> > * df -h >> > And if you're using LVM: >> > * vgdisplay >> > * lvdisplay >> >> KVM not Xen according to original post - and the partition in the >> guest has already been resized with gparted, so no reason to perform >> any more actions within the guest - only thing missing is to resize >> the qemu image on the host (I assume the OP is using regular >> file-based images in virt-manager as nothing has been mentioned about >> this, eg. not iSCSI, NFS, LVM, etc.). >> >> Best regards >> Kenni >> _______________________________________________ >> CentOS-virt mailing list >> CentOS-virt at centos.org >> http://lists.centos.org/mailman/listinfo/centos-virt >> > > > > -- > Thomas Smith > Cell: 602-882-2917 > > > _______________________________________________ > CentOS-virt mailing list > CentOS-virt at centos.org > http://lists.centos.org/mailman/listinfo/centos-virt > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20110207/27476449/attachment-0006.html>