Go Premium for a chance to win a PS4. Enter to Win


Virtual Machine - Change Hard Disk 1 Size.

Posted on 2012-03-21
Medium Priority
Last Modified: 2012-03-21
Sphere Client
On my Virtual Machin Properties - Summary, I've changed the hard disk 1 size from 50 GB to 60 GB.  But when I go to vitual machine console and I click on c:\ drive it show 50 GB not 60GB.

What i'm missing ?
Question by:LelloLello
  • 8
  • 5
  • 2
  • +3
LVL 40

Accepted Solution

coolsport00 earned 1600 total points
ID: 37748782
Looks like a newer OS (W2K8 or Win7)...so what you need to do is go into Disk Mgmt, right click on the partition, and select 'Expand/Extend'.

LVL 30

Expert Comment

ID: 37748786
was it ide

you need to use a tool to expand the c: drive as it will not do it on its own
you need a program like partition magic or similar to expand it
LVL 40

Expert Comment

ID: 37748790
Ok...yeah, noticed on your 3rd jpg file. It's 2K8, so just do as I mention above.

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

LVL 57

Expert Comment

by:Pete Long
ID: 37748797
LVL 40

Expert Comment

ID: 37748799
@IanTh - not needed since it's a newer OS.
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 200 total points
ID: 37748828
If Windows 2008, select the Partition on select Expand.


How to Resize a Partition after Disk Expansion

To re-size a disk, select the Virtual Machine, Select Edit Settings, Highlight the Virtual Hard Disk, and select Edit
there is an option to increase size. This only changes the physical size of the virtual disk, it does not grow the partition on the disk. See below.

Before making any changes to the partition structure of the disk, ensure you have a full backup, not a snapshot.

1. Resize partition with Gparted Live CDROM

i. Download Gparted Live CDROM (http://gparted.sourceforge.net/livecd.php).

ii. Upload the cdrom iso to the vSphere ESX/ESXi datastore.

iii. Mount the cdrom or iso on the virtual machine.

iv. Shutdown and restart the virtual machine booting from the cdrom.

v. Select Resize partition.

Here is a Tutorial Walkthorugh of how to resize a partition with a GParted Live CDROM



2. Using DISKPART.exe

(the system disk cannot be re-sized within the virtual machine, but other disks can be resized, eg. D: E: etc

i. Shutdown the virtual machine.
ii. Remove disks from virtual machine (but do not delete them).
iii. Add the disks to another virtual machine.
iv. Start up virtual machine.
v. Use Diskpart in the OS to extend disks.

see here for details on Diskpart usage


3.Use VMware Converter Standalone to complete a V2V (virtual to virtual conversion).
there is an option to increase or decrease the size of target disks on the desintation at conversion.

Download VMware vCenter Converter here


VMware vCenter Converter Standalone 4.x Documentation


VMware vCenter Converter Standalone 4.3 User Guide


For the conversion steps, read fellow Expert Bestway's article.


Best Practice Video Guide here


Also the VMware KB here


Assisted Solution

Charlie2012 earned 200 total points
ID: 37748860
You need to go to Disk Manager and allocate the space.

You will not be able to increase the C drive in this way however - you will only be able to allocate another drive letter to the space.

Are you using Vsphere?

If so in order to increase the C drive space you will need to use the VMware converter and do a P2V import (I know that sound wiered but the p2v converter can clone the machine and during the cloning process you can increase the C drive space).

Alternativly you can use something like ghost (not sure if they work on virtual machine).

The P2V converter is simple to use and is an add on for the vsphere client:

One of the simplest methods to either increase or decrease the size of an existing virtual disk is to use the free VMware Converter utility.

When you run the utility it gives you the option to re-size the existing disks so they are either larger or smaller than the original disks. Converter doesn't modify the original disk files; rather it creates a new VM with virtual disks that are the size you specified and copies the data from the original VM to the newly created VM. After you verify that the new VM is working, you can delete the original VM.

Follow these steps to use VMware Converter to import a physical machine or re-size your disks on a current VM

Download and install Converter on your VMWare client > open VMWare Client > go to plug-ins from the menu's at the top of the client > from available plug-ins choose Vcentre Converter. Once this is installed you need to select hosts and clusers from the inventory menu (view > inventory > hosts and clusters).

• Choose any ESX host and right click and go to import machine.

• Select your Source Type, as "Physical machine," (although it is a virtual machine you can not import a machine from the same VMWare environment using the virtual machine option so we must select physical machine).

• On the Source Login screen type the name of the server you are going to import. The authentication must have admin privalidges on the source server as the converter tools installs software on the source machine to read the data.
• When the Source Data screen appears it will display all the disks that the VM has assigned to it. Here is where you can resize your disks, choose to select volumes and re-size and then select one of the options, (i.e. 'Type Size in GB') and enter a new size. If you are decreasing the size of the disk you must enter a value larger then the total amount of disk space that is currently in use on the disk. For example if you had 8GB of data on a 24GB disk on your original server, you must enter a value greater then 8GB for the new size.

• Next, select a Destination ESX host which will typically be the same host as the source the VM is on. Then assign a name for the VM (name must be different from the source, you can rename it afterwards once you delete the source server), then select a data store to put the VM on, a network for the VM and finally click Finish to begin the process.

• The time it takes to complete will vary based on how much data is stored on the source server. Once it completes you can power off your source VM, power on the newly created VM and verify that it is working correctly. Afterwards you can delete the original source VM and rename the new VM to match the original name.

Now that we've successfully increased the size of your virtual disk it's time to change the existing partition's size to include the extra space.

Check in disk management that the size has increased and that your partition is the correct size.
LVL 40

Expert Comment

ID: 37748863
See here (screenshot). Mine is greyed out because I don't have any addt'l space to add. But 'Extend' is what you would select when right-clicking on your OS volume.

LVL 40

Expert Comment

ID: 37748881
@Charlie2012 - again, this is already a VM as noted by the poster's attachments, and it's a W2K8 VM. So, that being said, the process is as what's already been posted:

1. Go into VM's settings -> Hardware tab, select Hard Disk and increase the amt.
2. Go into OS of W2K8 -> Disk Mgmt (rt-click on My Computer -> Manage).
3. Rt-click on OS volume (or volume size was increased on), & select 'Extend'.

A V2V certainly can be done, but is overkill and unneeded...


Author Comment

ID: 37749167
Thank you. I did the extend...  Do I have to run the diskpart extend

Please see attached image of m diskpart.
LVL 40

Expert Comment

ID: 37749173
No...not at all. Do you see the extended space added to your drive?


Author Comment

ID: 37749186

Author Comment

ID: 37749192
it show in my computer i have 60 GB.
LVL 40

Expert Comment

ID: 37749193
Then you're good to go :)

Author Comment

ID: 37749215
thank you all.
LVL 40

Expert Comment

ID: 37749216
Glad to help!

Author Comment

ID: 37749223
pls assist me on that question.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question