Solved

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

Posted on 2014-10-15
3
1,110 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 78

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
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…

762 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

21 Experts available now in Live!

Get 1:1 Help Now