Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-03-13 Thread Poh Yong Hwang
Hi, Sorry to bring this up again. Now i am trying the clonezilla method to downsize one of my VM. I have created a smaller storage volume and added to the VM. I boot up wih clonezilla but have issue cloning the drive over. Should I use Disk-Image or Device-Device? Please advise. Thanks!

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-03-13 Thread compdoc
Sorry to bring this up again. Now i am trying the clonezilla method to downsize one of my VM. I have created a smaller storage volume and added to the VM. I boot up wih clonezilla but have issue cloning the drive over. Should I use Disk-Image or Device-Device? To make it smaller, you

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-03-13 Thread Poh Yong Hwang
Hi, Thanks! It works! :) Yongsan On Sun, Mar 13, 2011 at 7:47 PM, compdoc comp...@hotrodpc.com wrote: Sorry to bring this up again. Now i am trying the clonezilla method to downsize one of my VM. I have created a smaller storage volume and added to the VM. I boot up wih clonezilla

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Poh Yong Hwang
Hi, I have an issue. I have already resize the partition using Gparted. Now how can i resize the actual image size in virtual manager? I do not see any option for me to change the size of the allocated hard disk. Please advise. Thanks! On Wed, Jan 26, 2011 at 6:54 PM, Poh Yong Hwang

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Kenni Lund
2011/2/6 Poh Yong Hwang yong...@gmail.com: Hi, I have an issue. I have already resize the partition using Gparted. Now how can i resize the actual image size in virtual manager? I do not see any option for me to change the size of the allocated hard disk. You're probably looking for the

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread compdoc
Well, I can tell you how I do it. Might help. 1) create a new storage volume of the size you want with Virtual Manager. (Host detailsStorage tab) 2) shut down the VM and add the new volume to the VM ( it now has two virtual drives - the original and the new) 3) boot with clonezilla,

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Poh Yong Hwang
Hi, Thanks but my issue is i do not have enough diskspace to create another partition of the size that i needed. Is there a way for me to reduce the actual image size? Thanks! On Mon, Feb 7, 2011 at 3:09 AM, compdoc comp...@hotrodpc.com wrote: Well, I can tell you how I do it. Might help…

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Poh Yong Hwang
Hi Kenni, Sorry i might have miss it but if i do a man of qemu-img, i do not see resize option. I only see create, convert, commit and info. Thanks On Mon, Feb 7, 2011 at 3:18 AM, Kenni Lund ke...@kelu.dk wrote: 2011/2/6 Poh Yong Hwang yong...@gmail.com: Hi, Thanks but my issue is i do

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Kenni Lund
2011/2/6 Poh Yong Hwang yong...@gmail.com: Hi Kenni, Sorry i might have miss it but if i do a man of qemu-img, i do not see resize option. I only see create, convert, commit and info. Ohh, I'm sorry then :( Guess the qemu-img version in CentOS 5 just is too old... qemu-img *is* the tool you

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread compdoc
You can't add a drive temporarily and have Virtual Manager create the new volume there? I would think even a USB stick would work... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Thomas Smith
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

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Kenni Lund
2011/2/6 Thomas Smith theitsm...@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?

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-02-06 Thread Poh Yong Hwang
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 (20971520 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

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-01-26 Thread Lucas Timm LH
Yes, it will, works all the time with me but using SysrescueCD. But don't forget to backup your data before the resizing, any operation with disk partitions may lost data. 2011/1/26 Poh Yong Hwang yong...@gmail.com Hi, I have two guest vm instance running CentOS 5 with ext3 partition. I will

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-01-26 Thread Lorenzo Quatrini
Poh Yong Hwang ha scritto: Hi, I have two guest vm instance running CentOS 5 with ext3 partition. I will like to reduce 1 VM harddisk space and using the 'release' harddisk space to add onto my second VM. Basically I need to know how can I reduce and increase an ext3 partition in CentOS

Re: [CentOS-virt] Resizing EXT3 partition in guest instance CentOS5

2011-01-26 Thread Poh Yong Hwang
Hi, Great! Thanks for the quick response. I will try it out then. Yes. I do have backup for the host as well as the guest nodes. :) Regards yongsan On Wed, Jan 26, 2011 at 6:43 PM, Lorenzo Quatrini lorenzo.quatr...@gmail.com wrote: Poh Yong Hwang ha scritto: Hi, I have two guest vm