Solved

How do you expand the system partition in Hyper-V?

Posted on 2008-10-14
14
1,363 Views
Last Modified: 2013-11-11
Afternoon

Here's the scoop.

Created iscsi LUNS on my Hyper V box that connect to my SAN.  Mounted these LUNS to empty NTFS folders

Needed to increase the size of one of my VHDs by 20GB so i first increased the LUN, then expanded the VHD file using Hyper-V Manager from 20GBs to 40GBs.
Now when i open up my VM and go into Disk Manager I see the C: drive with 20GB of space and then another 20GBs of unallocated space.
Problem is, i should be able to right click on the drive and see the option to expand disk but i do not...


Any ideas?

0
Comment
Question by:javajo
  • 7
  • 7
14 Comments
 
LVL 2

Expert Comment

by:Carsontl
ID: 22713187
Have you tried using diskpart.exe? Here's the instructions from Microsoft:

http://support.microsoft.com/kb/325590/en-us
0
 

Author Comment

by:javajo
ID: 22713255
Thank you for the response.

Will this work on Server 2008?  It says right in the synopsis it may not work on the system drive...

Isn't this feature supposed to be built in to 2008?  I'm gussing the VM may need to be off before i extend the system partition??...
0
 
LVL 2

Expert Comment

by:Carsontl
ID: 22713272
If i remember correct it does not automatically assume to extend the partition just for safety's sake.

Please shut off the VM before extending the partition, best to be safe :)
0
 

Author Comment

by:javajo
ID: 22713401
thank u again.

ok - here's what happening...

Diskpart.exe is reporting that the volume is in fact 40GBs (is it reading the VHD info...?)
But Windows Disk Manager is reporting it as 20GBs and 20 GBs unallocated with no option of extending....

Hmmmm...i really do not want two partitions...

any ideas?


0
 

Author Comment

by:javajo
ID: 22713441
Just to be clear...

In Windows, disk0 IS 40GBs...but the problem is that it is broken up into two parts....one 20GB system partition and one 20GB area of unallocated space...
0
 
LVL 2

Expert Comment

by:Carsontl
ID: 22713726
Is the disk dynamic?  If so you should be able to just right click the drive and add it to the existing partition.
0
 

Author Comment

by:javajo
ID: 22713887
OK - getting this error message..

"The selected volume is a system or boot disk or was created on a basic disk in an earlier version of Windows and cannot be extended".

Is this possible?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Expert Comment

by:Carsontl
ID: 22713952
There's the issue, you have it set up as a Basic disk and not a dynamic one.

Start Computer Manager
Expand Storage - Disk Management.
Right click on the disk and select 'Upgrade to Dynamic Disk'
Select the disks to upgrade and click OK
A summary will be displayed.
Click Upgrade
Click Yes to the confirmation
0
 

Author Comment

by:javajo
ID: 22713991
Yep - did that.  That's the error message i get afterwards...

Up until i converted it to a dynamic disk i did not even see an option to expand..  Wasn't an option....not even greyed out...just not there....
0
 
LVL 2

Expert Comment

by:Carsontl
ID: 22714036
Ah, rereading your error after you explained that it looks like you may have to rebuild the VM with it set up as a dynamic disk from the get go, either that or use a more current OS.

"The selected volume is a system or boot disk or was created on a basic disk in an earlier version of Windows and cannot be extended".

Sounds like the VM is built off an old OS?
0
 

Author Comment

by:javajo
ID: 22714055
well - it was built off Server 2003 sp1....ugh...yep...that's the issue i guess eh?

0
 
LVL 2

Accepted Solution

by:
Carsontl earned 500 total points
ID: 22714086
It appears to be so, wish i could provide better news lol
0
 

Author Comment

by:javajo
ID: 22714098
ugh...ok - looks like I'll be using 2008 for my future VMs   LOL.

thanks man!
0
 
LVL 2

Expert Comment

by:Carsontl
ID: 22714124
No problem, thanks for the A :)
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Every system administrator encounters once in while in a problem where the solution seems to be a needle in haystack.  My needle was an anti-virus version causing problems with my Exchange server. I have an HP DL350 with Windows Server 2008 Stand…
This is my 3rd article on SCCM in recent weeks, the 1st (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html) dealing with installat…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

20 Experts available now in Live!

Get 1:1 Help Now