Solved

Hyper-V regaining disk space?

Posted on 2014-12-06
6
213 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
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…

739 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