make room between the C drive and D drive on a virtual machine

I have a windows server 2008 R2 running Vmware server 2.02 hosting  a windows server 2008 R2 virtual machine that has a C drive and a D drive. I want to extend the C drive but the D drive is in the way. I'd like to just more the D drive along so create empty space between the two so I can increase the C drive.

Can this be done either with windows 2008 R2 drive tools, Vmware tools that somehow manipulate the vmdk file or do I need a third party program.

I am on a budget so the $600 Acronis Disk Director 11 Advanced Server is out of the question.

Thanks in advance!

LVL 1
StellerSystemsAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
kevinhsiehConnect With a Mentor Commented:
If I understand correctly, you have a C and D partition on the same drive as seen in disk manager under Windows.

If this is the case, you can't simply expand the disk because you still would not be able to expand the C partition because there would be no free adjacent space.

There is no reason to partition a drive in a virtual environment. Add a new drive for the D partition to your VM. Copy the D partition to the new partition by simply copying the files, or use imaging software such as Ghost or Clonezilla. Once that is done, delete the D partition and expand the C partition into the free space.

Why are you running VMware server?  VMware stopped development on it 2 years ago. You should switch to Hyper-V which is part of Windows 2008 R2, or maybe Virtual Box which is also free and under active developement.
0
 
binary_1001010Commented:
yes, you can extend C drive for windows 2008 even though the os system partition is in it.

1: shutdown your virtual os.
2: on your vmware , click on your virtual disk(under hardware, not datastore) and increase the capacity.
3: turn on your virtual machine.
4: when the os booted, goto disk management and extend the partition.

you don't need 3rd party software, but if you need 1, you can download this, it is free.

http://www.partition-tool.com/
EASEUS Partition Master
0
 
Muzafar MominCommented:
to extend the disk size(unallocated size) you will need to use command line tool "diskpart"
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
coolsport00Connect With a Mentor Commented:
I wanna concur with "kevinhsieh's" suggestion here and maybe add my own 2¢. If you have a single virtual disk for your VM, and partitioned it into two logical volumes, that is not best practice for a VM, and in a virtualized environment makes no sense at all, unless you don't have enough storage for 2 separate virtual disks, and still wanted to separate your sys volume from your data volume. If you do have enough storage, as suggested by "kevinhsieh", create another virtual disk for the VM. Assign the new volume "E:" or whatever, copy the "D" data to "E", delete the "D" partiton, then reassign "E" to "D" if you'd like. Then, if you want/need to increase C:, you can do so by powering down the VM, resizing C:, then power the VM back on going into Disk Mgmt to extend the C: volume.

If your physical host will support it, I would recommend installing ESXi on your host and use that rather than Server. Just check it out against the HCL (http://www.vmware.com/resources/compatibility/search.php) to verify it's supported. Even if it's not supported for the most current version (4.1), it may for a recent legacy version (4.0)., or even 3.5 would be fine. You can easily use 'converter standalone' (free tool) to convert your VM from Server to ESXi (http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcenter_converter_standalone/4_0)

Hope that helps.

Regards,
~coolsport00
0
 
StellerSystemsAuthor Commented:
Thanks!

I inherited this problem. I am a programmer who now gets to look after the servers.

I will look into moving to Hyper-V or ESXi
0
 
coolsport00Commented:
Fun for you, eh? :)
0
 
StellerSystemsAuthor Commented:
it isn't that bad, any break from corporate accounting database programming is welcome, but nothing is ever easy or straight forward. It s all so convoluted. installing BES_X is the most ridiculous thing I have even seen. Good phones, terrible software.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.