Solved

Hyper-V regaining disk space?

Posted on 2014-12-06
6
202 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
  • 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Resolve DNS query failed errors for Exchange
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
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…

758 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

19 Experts available now in Live!

Get 1:1 Help Now