Poh Yong Hwang
2011-Jan-26 10:37 UTC
[CentOS-virt] Resizing EXT3 partition in guest instance CentOS5
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 KVM. I did a search and basically i can do it by booting the VM using Knoppix and use Gparted to reduce and increase the diskspace. I am thinking of the following 1) Boot first VM using Knoppix 2) Reduce the ext3 partition disk size using Gparted 3) Shutdown the VM and resize the diskspace using Virtual Manager 4) Increae the diskspace of the second VM using Virtual Manager 5) Boot up second VM using Knoppix 6) Increase the ext3 partition disk size using Gparted 7) Reboot the second VM As this is the first time i am doing it, will these work? Anyone has experience resiziing their EXT3 partition in KVM environment before? Thanks! Regards yongsan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20110126/2075aa25/attachment-0006.html>
Lucas Timm LH
2011-Jan-26 10:41 UTC
[CentOS-virt] Resizing EXT3 partition in guest instance CentOS5
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 <yongsan at gmail.com>> 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 KVM. I did a search and basically i can > do it by booting the VM using Knoppix and use Gparted to reduce and increase > the diskspace. I am thinking of the following > > 1) Boot first VM using Knoppix > 2) Reduce the ext3 partition disk size using Gparted > 3) Shutdown the VM and resize the diskspace using Virtual Manager > 4) Increae the diskspace of the second VM using Virtual Manager > 5) Boot up second VM using Knoppix > 6) Increase the ext3 partition disk size using Gparted > 7) Reboot the second VM > > As this is the first time i am doing it, will these work? Anyone has > experience resiziing their EXT3 partition in KVM environment before? > > Thanks! > > Regards > yongsan > > _______________________________________________ > CentOS-virt mailing list > CentOS-virt at centos.org > http://lists.centos.org/mailman/listinfo/centos-virt > >-- Lucas Timm, Goi?nia/GO. http://timmerman.wordpress.com (62) 8198-0867 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20110126/ec744753/attachment-0006.html>
Lorenzo Quatrini
2011-Jan-26 10:43 UTC
[CentOS-virt] Resizing EXT3 partition in guest instance CentOS5
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 KVM. I did a search and > basically i can do it by booting the VM using Knoppix and use Gparted to > reduce and increase the diskspace. I am thinking of the following > > 1) Boot first VM using Knoppix > 2) Reduce the ext3 partition disk size using Gparted > 3) Shutdown the VM and resize the diskspace using Virtual Manager > 4) Increae the diskspace of the second VM using Virtual Manager > 5) Boot up second VM using Knoppix > 6) Increase the ext3 partition disk size using Gparted > 7) Reboot the second VM > > As this is the first time i am doing it, will these work? Anyone has > experience resiziing their EXT3 partition in KVM environment before? > > Thanks! > > Regards > yongsan >I guess it would work, but just in case remember: do backup beforehand :D Regards Lorenzo