Solved

Expanding the space on the C driver of a 2008R2 server on ESXi

Posted on 2015-02-13
5
211 Views
Last Modified: 2015-03-12
Is this possible?   I know it is with Zen but when I add space to the vmdk file for the C drive on a windows 2008R2 machine and try to expand it's grayed out.
0
Comment
Question by:wannabecraig
  • 2
  • 2
5 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Yes, it's very possible.

Please note if you have a snapshot or IDE disks, you cannot expand the virtual disk, and it will be grayed out, and you will need to resolve that issue.

Do you have a snapshot - check my EE Article

HOW TO: VMware Snapshots :- Be Patient

Once you have Extended the virtual disk, you will also need to alter the OS partition inside the VM, using Disk Management, and Extend Volume,

see my EE Article

HOW TO:  Resize a VMware (VMDK) Virtual Disk
0
 
LVL 1

Author Comment

by:wannabecraig
Comment Utility
HI,

I've extended the Volume in VMware, they dives are in  SAN, they're SAS, not IDE.
The 'Disk 0' has no 30GB of unallocated space.
The 'extend volume' is still grayed out.
0
 
LVL 1

Author Comment

by:wannabecraig
Comment Utility
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
Okay, I see you already have extended the virtual disk, and hence the unallocated space.

The reason you cannot use EXTEND volume, is because there is NO SPACE, to extend the volume into, because it needs to be contiguous, e.g. next to the C: volume.

Just as an aside, using Partitions in VMs, is old school, because you get into issue like this....

So options:-

1. Add a new virtual disk (VMDK) to the VM, move the data from D: to this new disk, call it O:, once you have removed all the data from D:, delete the partition, and re-assign drive letter O: to D:.

1. Then you will be able to Extend C:.

OR, you will need to use Third Party tools, as per my EE Article, Gparted Util, and MOVE the D: partition down the disk (to the unallocated area), this will shift the unallocated area to next to C:, and then Expand C:, using  Gparted Util or Disk Management.
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
You need the free space to be right behind C:, and not D: (it must be between C:\ and D:\).

You will need to boot the VM from a 3rd party tool like GParted, then first move D:\ to the end of the disk, and after that you can extend your System Partition using either GParted or Windows Diskmanagement.

http://distrowatch.com/table.php?distribution=gparted

But your disk setup isn't the best way to handle things when in a VM. Normally you don't partition a virtual Disk into system and data partitions (or similar. You rather use 1 Virtual Disk for your OS, another for the Data and so on. It makes management much easier. So rather than moving partitions around like I mentioned above, it would make sense to create a new Virtual Disk and copy your Data partition to that. Then delete the data partition and use your complete first Virtual disk just for your OS.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

OfficeMate Freezes on login or does not load after login credentials are input.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now