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

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?

javajoAsked:
Who is Participating?
 
CarsontlConnect With a Mentor Commented:
It appears to be so, wish i could provide better news lol
0
 
CarsontlCommented:
Have you tried using diskpart.exe? Here's the instructions from Microsoft:

http://support.microsoft.com/kb/325590/en-us
0
 
javajoAuthor Commented:
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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
CarsontlCommented:
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
 
javajoAuthor Commented:
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
 
javajoAuthor Commented:
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
 
CarsontlCommented:
Is the disk dynamic?  If so you should be able to just right click the drive and add it to the existing partition.
0
 
javajoAuthor Commented:
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
 
CarsontlCommented:
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
 
javajoAuthor Commented:
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
 
CarsontlCommented:
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
 
javajoAuthor Commented:
well - it was built off Server 2003 sp1....ugh...yep...that's the issue i guess eh?

0
 
javajoAuthor Commented:
ugh...ok - looks like I'll be using 2008 for my future VMs   LOL.

thanks man!
0
 
CarsontlCommented:
No problem, thanks for the A :)
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.