Solved

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

Posted on 2008-10-14
14
1,371 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
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)

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Remote Desktop Protocol or RDP has become an essential tool in many offices. This article will show you how to set up an external IP to point directly to an RDP session. There are many reasons why this is beneficial but perhaps the top reason is con…
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

785 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