Friday, February 19, 2010

Increase the Size of a VMWare Drive

VMWare has a tool that allows you to resize a VMDK file...


"C:\Program Files\VMware\VMware Server\vmware-vdiskmanager.exe" -x 20GB "d:\Virtual Machines\EPO Server\Windows Server 2003 Enterprise Edition.vmdk"

Ok that's awesome Ben but what about the partion?

You can use the Diskpart tool! But Ben... If your disk is the system volume you can't!

Well here's where I earned my pay today!

Mount the Disk in another VM!!! - (yup that's it!)

Diskpart will work then! - Doh of course! You really are awesome Ben!

diskpart
detail disk
select disk *
detail volume
select vloume *
extend

NOTE The drive MUST have a drive letter for this to work


How to use Diskpart
http://technet.microsoft.com/en-us/library/bb735137.aspx

No comments:

Post a Comment