Solved

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

Posted on 2014-10-15
3
1,374 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
[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
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 80

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
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…

730 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