Solved

Option to extend volume on 2008 R2 virtual server greyed out

Posted on 2010-09-13
6
4,222 Views
Last Modified: 2012-05-10
I am running a Windows 2008 R2 Standard virtual server on VMware's ESX 4.  The server has a C: boot partition of 29.3 GB, an E: primary partition of 256.77 GB and 13.83 GB of unallocated space.  I would like to extend my C: boot partition 5 GB but the option is greyed out in Disk Management.  If you need details on the virtual infrastructure I can provide that.
0
Comment
Question by:tfgeorge
  • 2
  • 2
  • 2
6 Comments
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 33665510
You can't do it from within the running OS. What I always do is to shut down my VM, attach the drive to another Windows machine, and use diskpart.exe on the other machine to expand the volume. I use Hyper-V, but for you I can imagine that you would attach the VMDK to another VM, boot it up, run diskpart.exe, and then shut down the VM, detach the VMDK, and reattach it to original machine.
0
 
LVL 88

Expert Comment

by:rindi
ID: 33665722
The unallocated space must be right behind the partition you want to extend. If right after C: you have E: and then the unallocated space, then it won't work. You first need a 3rd party utility to move E: to the end of the Disk, and then you can extend your partition via windows (or also use the 3rd party tool for that, as they usually have that functionality too.

Of course this only works if the partitions are on the same Virtual Disk. If you created a virtual disk for every drive, it won't work.
0
 
LVL 1

Author Comment

by:tfgeorge
ID: 33665730
Maybe I could use vmotion to facilitate this?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 1

Author Comment

by:tfgeorge
ID: 33665772
rindi, they are on the same disk.  tell me more.  what 3rd party tool will move E: to the end? Any that are free?
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 33665941
You can use Clonezilla http://clonezilla.org/ to copy your partition to a new drive (VMDK). Vmotion doesn't address this. You will have downtime. You can possibly minimize downtime if there isn't any production information on the C drive and you can work with it offline to expand the partiton and then revert the whole VM to use the new or modified VMDK file. Whether or not that works for you depends on what the VM does and whether or not it's okay to move it back to a previous point in time.
0
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 33666462
You can boot the VM from a ParteMagic iso. This tool includes GParted and with that you should be able to move your partitions and also resize them. The good thing it is free:

http://partedmagic.com/

If that doesn't work you could check out the Paragon utilities. They will work, but I'm not sure if the trial versions will be able to do the job.

http://www.paragon-software.com/index.html
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

896 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

15 Experts available now in Live!

Get 1:1 Help Now