Solved

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

Posted on 2008-10-14
14
1,387 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

617 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