Link to home
Start Free TrialLog in
Avatar of NetworkAdmin24
NetworkAdmin24

asked on

Can I increase the size of the harddisk of a Virtual machine running on ESX host vmware 4.0

Hi,

I have machine with 40GB of the c drive, is there a way to extend the size of the hard disk of the VM. I am looking for the option to increase the size of the c drive on the hard disk.

Did shutdown the virtual machine and from edit settings have increased the provisioned size of the hard disk but it reated a seperate partition on the VM. Is there a way to extend the existing drive in a VM.

--Thanks
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if it's windows, you can shutdown the VM, attach the disk to a helper VM that's running windows, open command prompt and run diskpart, 'list volume' then 'select volume #' for the correct one, then enter 'extend'.  that should extend the partition, exit diskpart, remove the disk from the helper vm and bootup the vm you just extended.
what is the operating system?
hanccocka gave exact steps. Follow them.
Avatar of RFD110
RFD110

The only problem with what Hanccocka said is that the ability to increase the drive size in ESX is only when the disk is a SCSI virtual disk. If it was created as an IDE virtual disk ESX doesn't let you increase the size of the drive in vSphere. This is the drive settings for the VM and has no bearing on the physical drives.

A ran into this issue several times with WinXP VMs because their default is to have a IDE drive. It is possible to change the drive to SCSI from IDE, but it is a bit complicated.

The other issue is if there are multiple partitions on the virtual drive, you have to move the other partitions down.

Otherwise his instructions are spot on, and I have done the several thing many times.