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!

Yongsan

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…



 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, clone one drive to the other. Then boot gparted
 and resize as needed



 4) delete both drives from the vm, and then add back the new volume. Boot.



 5) keep the old, smaller volume around for a while as backup.





 When you add a volume, Virtual Manager assigns a device name to it: hda to
 the first drive, hdb to the second, ect.



 So, you have to delete them both to get Virtual Manager to assign hda to
 the new one, otherwise the OS will not be able to boot.





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


___
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-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 need to resize your partition(s) first with gparted,
and then use device-device if you have both 'drives' mounted. This clones
the drive. 

 

Use Disk-Image only if you want to store a copy of the drive to local or
remote storage. This creates a file backup of the disk. 

 

 

___
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-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

 but have issue cloning the drive over. Should

 I use Disk-Image or Device-Device?





 To make it smaller, you need to resize your partition(s) first with
 gparted, and then use device-device if you have both 'drives' mounted. This
 clones the drive.



 Use Disk-Image only if you want to store a copy of the drive to local or
 remote storage. This creates a file backup of the disk.





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


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