?
Solved

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

Posted on 2014-10-15
3
Medium Priority
?
1,601 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 39

Accepted Solution

by:
Philip Elder earned 2000 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 82

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
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…
Suggested Courses
Course of the Month8 days, 22 hours left to enroll

764 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