Solved

Hyper-V regaining disk space?

Posted on 2014-12-06
6
208 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

803 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