I always have treated my vm's as physical machines so I would look at ghost
or some disk copy utility of your choice to simply copy from the current
size to a new size.  I don't personally like to mess with vm's config
directly.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jond
Sent: Tuesday, January 29, 2008 9:34 AM
To: NT System Admin Issues
Subject: VMWare ESX -- Extending a VM's C: drive

Has anyone here resided the C: drive on a server running inside VMWare ESX?
Any advise or words of wisdom?
Any methods better than the others?
*Note, this isn't a mission critical server. The ESX host box is
mission critical, but the server in question is not. That's the only
reason I'm considering this.


This is the method I'm considering:

. Shutdown the virtual machine you want to resize
. Log into the ESX Server console via Putty
. Type "vmkfstools -X /vmfs/volumes///" ie.
/vmfs/volumes/Storage1/my_vm.vmdk New disk size can be specified in
kilo, mega or gigabytes and will be the total size of the new disk. So
if you want to increase a virtual disk from 20GB to 24GB you would
specify either 24000m or 24g
. Shutdown the second helper virtual machine
. Edit the settings of the second VM and add the hard disk from the first VM
. Power on the second VM and load the Disk Management snap-in and
verify that the disk from the first VM has un-allocated space on it
. Select Start, Run and enter diskpart.exe
. The command 'list volume' will show you all volumes.
. Select your volume based on the results of the list volume command,
ie. 'select volume 1' o Type the command 'extend' to extend the volume
. Check the Disk Management snap-in again and the volume should be
extended with a larger capacity
. Shutdown the second VM and remove (not delete) the disk from it
. Power on your first VM and the new space should be there and ready to use



Advise?

Thanks,
Jon

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~


~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to