[CentOS-virt] Resizing EXT3 partition in guest instance CentOS5
Poh Yong Hwang
yongsan at gmail.com
Sun Feb 6 22:02:57 EST 2011
Apologies for the late reply. Here is the result of the command:
qemu-img info staging.img
file format: raw
virtual size: 195G (209715200000 bytes)
disk size: 196G
Yes. I am looking to reduce this size to 100G.
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
>> > 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
>> CentOS-virt mailing list
>> CentOS-virt at centos.org
> Thomas Smith
> Cell: 602-882-2917
> CentOS-virt mailing list
> CentOS-virt at centos.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS-virt