Solved

Hyper-V regaining disk space?

Posted on 2014-12-06
6
215 Views
Last Modified: 2015-02-27
Ok so basically I have a 3.63TB Physical storage partition on my Windows 2012 server storing VHD files for x2 Virtual machines x1 VHDX for the Server OS and x1 VHDX for the Storage.

I've recently had a few issues restoring data within side the VM I had to restore 300GB worth of data then delete and start again etc and noticed the physical storage has hardly any space left and I need to restore the data back inside the VM again but need to make more space before doing so.
Obviously with all the changes that's gone on it's as though it's not reduced the actual VHDX for the storage just made it grow which by the way set as a Differencing virtual hard disk at 896GB and the parent is fixed at 2TB.

I've tried compacting both the vhdx and the avhdx which has made no difference to the their File size.
It's as though I need to defrag the avhdx file to get the space back but I'm not sure and haven't had to mess about much with Hyper-V in this type of scenario before.

Any help or advice would be appreciated.

Many Thanks
0
Comment
Question by:CRL ltd
[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
  • 3
6 Comments
 
LVL 14

Assisted Solution

by:brendanmeyer
brendanmeyer earned 500 total points
ID: 40485115
is there a reason why its a differencing file? is it a snapshot you want to keep?
0
 
LVL 1

Author Comment

by:CRL ltd
ID: 40485127
not really no
0
 
LVL 14

Assisted Solution

by:brendanmeyer
brendanmeyer earned 500 total points
ID: 40485136
you can try

VM settings
-> Vhd settings
-> tools (i think)
and there should be a compacting option -- (not shrinking)
0
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 
LVL 1

Author Comment

by:CRL ltd
ID: 40485370
ok since compacting the VHDX files and running a Defrag on them it's made no difference to the storage size and now all of a sudden when I boot the VM the local disk E: shows as RAW and I can't access the data?
0
 
LVL 1

Author Comment

by:CRL ltd
ID: 40485392
I can't even mount the AVHDX file but can mount the parent file? I'm confused. I had to reconnect it to the parent and clicked ignore ID mismatch which is what's done it I'm guessing?

What should I do as next step? point the VM to the parent file instead?
0
 
LVL 14

Accepted Solution

by:
brendanmeyer earned 500 total points
ID: 40490526
I would restore the file from backup.

unsure what you can do next.
what else have you tried?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

688 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