Huge Discounts on Mobiles, Books, Cameras, Computers etc: @Flipkart
Flipkart.com

Friday, November 16, 2007

How to increase the size of an existing VM - VMware

I created a new linux VM but it is set to a max of just 4GB. Once I started installing applications into it, soon my disk is full!! Tried using the VMware Server Console of VMware Server (a free VM hosting application and is much better than the VMware player). From the console you can change the Memory (RAM) in VM settings, but not hard disk size. Tried google and found the followings options:

1) Create a new clone/replica with increased disc size

2) Add another disc to the VM

3) Use the vdiskmanager command

I used the vdiskmanager command and following is the output:
D:\VM\linux_taddm>"C:\Program Files\VMware\VMware Server\vmware"-vdiskmanager -x 15GB linux_taddm.vmdk
Using log file C:\Users\admin\AppData\Local\Temp\vmware-admin\vdiskmanager.log
Grow: 100% done.
The old geometry C/H/S of the disk is: 522/255/63
The new geometry C/H/S of the disk is: 1958/255/63
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party utility in the virtual machine to expand the size of the partitions. For more information, see:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647


It increased the size of the disc from 4GB to 15GB in couple of minutes!

















You may also want to see these:
http://www.vmware.com/support/reference/common/virtual_disks.html
http://communities.vmware.com/message/290776

No comments:

Post a Comment