Re: Resizing EXT3 partition in guest instance CentOS5

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

 



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@xxxxxxx> wrote:
2011/2/6 Thomas Smith <theitsmith@xxxxxxxxx>:
> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt



--
Thomas Smith
Cell: 602-882-2917

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux