Solved

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

Posted on 2008-10-14
14
1,380 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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
 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

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…
My previous article  (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)detailed one possible method to get SCCM 2007 installed an…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

756 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