Solved

Hyper-V, can I "Expand" and "Shrink" a fixed VHDx?

Posted on 2014-10-15
3
1,177 Views
Last Modified: 2014-11-12
The host is "Windows Server 2012 Standard" with Hyper-V enabled.
I created a Windows 2008 Server VM that includes two "fixed" VHDx, one for OS (C: drive), the other for DATA (D: drive)
Now I noticed that I have assigned too much space to D: drive. Can I shrink the corresponding "fixed" VHDx? And, in the future, can I expand it again?

To my understanding, a "fixed" VHDx is fixed, once it is created, it will not be expanded or shrinked. Am I correct?

Thanks!
0
Comment
Question by:techcity
3 Comments
 
LVL 38

Accepted Solution

by:
Philip Elder earned 500 total points
ID: 40383529
You need to shrink the partition within the Windows guest OS Disk Management first.

Once you have done that you can shrink the VHDX file.

TechNet: Online Virtual Hard Disk Resizing
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 40383531
use the powershell resize-vhd command
0
 
LVL 1

Author Comment

by:techcity
ID: 40383626
Thank you very much!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

This is similar to the error described in my previous Article, but with a different source problem and a different solution. When trying to scan and stage the ESXi 6.0 updates using VMware Update Manager, we can get "error code 90"
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

863 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