[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

Hyper V host drive space issue

Infrastructure:
Hyper V Host: Windows Server 2008R2
This host has only one Guest Machine: Windows Server 2008R2
Guest server is a file and Print server. This guest server has two FIXED VHD files, one for OS (C:\) and one for Data (D:\).
both drives C and D have over 150 GB free disk space.

Problem: The Drive on the Host server growth couple gigabytes a day which  creates a problem since the drive space is limited. When host server's drive gets full, the VM hosted on that drive stops functioning. I am not understanding why would this Drive grow in size where the guest OS has fixed size VHDs and it has enough free space.



I would appreciate any help
0
Tech Man
Asked:
Tech Man
  • 6
  • 4
  • 2
  • +2
2 Solutions
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
You're not clear.

The VHDs are growing is size?  Or the host's available drive space is being reduced due to something taking up the space?

If the latter, then you need to find out what's taking up the space.  That simple.  See my article on how to find out:
https://www.experts-exchange.com/articles/28565/Using-Tools-To-Find-What-is-Using-Your-Disk-Space.html
0
 
rindiCommented:
Is the host only for Hyper-V, or does it have other tasks too? If so, what are those tasks? A Hyper-V host should only be a Hyper-V host, nothing else.
0
 
Michael OrtegaSales & Systems EngineerCommented:
Daler,

Any snapshots on the VM's in question?

MO
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
There are differencing disks on the host as a result of a snapshot/checkpoint.

If there is enough free space delete the smallest snapshot/checkpoint first then move through any others. NOTE: There must be enough space on the host to create a new parent file.
0
 
Tech ManAuthor Commented:
Thank you everyone for the posts. Let me clarify.

-HyperV host disk growing in size
- guest's VHDs are fixed disks
- Host does not have any functions but Hyperv
- I don't have a differencing disks
- we don't use snapshots
- the only time the snapshot taking action happens when Veeam( backup software) runs. But Veeam deletes the snapshot right after backup is complete .

Please let me know if anything else needs to be clarified
0
 
Michael OrtegaSales & Systems EngineerCommented:
Daler,

Often times, if a backup fails, that snapshot might not clean up. The snapshot might also not show up in Hyper-V Manager. Can you look in the directory where the snapshots are supposed to be saved to determine if you have one?

MO
0
 
Tech ManAuthor Commented:
I run some Powershell to check if I have any snapshots hanging. The result is no pending snapshots.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Is there a reason you don't want to look over the disk and see what's taking up the space?  You have to LOOK - I'll repeat my earlier comment:

The VHDs are growing is size?  Or the host's available drive space is being reduced due to something taking up the space?

If the latter, then you need to find out what's taking up the space.  That simple.  See my article on how to find out:
https://www.experts-exchange.com/articles/28565/Using-Tools-To-Find-What-is-Using-Your-Disk-Space.html
0
 
Michael OrtegaSales & Systems EngineerCommented:
You have previous versions enabled at the host level on the volume in question?

MO
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Please follow Lee's direction to check and see what's taking up the space.

I suspect logs for some sort of server app.
0
 
Tech ManAuthor Commented:
Thank you very much for the information provided in this post. I found the issue , The software that I use for a backup (Veeam). Creates a Snapshot. That snapshot was increasing in size if any additional activities would happen on the virtual machine which impacted the Host.

Thank you
0
 
Michael OrtegaSales & Systems EngineerCommented:
@Daler,

Didn't I mention the issue with snapshots like in the 3rd post? What about my subsequent message about the probability of the backup solution being related to the issue? Did you miss those posts?

Oh well.

MO
1
 
Tech ManAuthor Commented:
Dear Michael Ortega,
Yes, you did mentioned but at that time I was not seeing that issue.
Sorry.
0
 
Michael OrtegaSales & Systems EngineerCommented:
@Daler,

Ok, so I advised on what the source of the issue was, which ended up actually being true, but since you didn't see it as the issue when I sent my recommendations you don't feel like my contribution was helpful?

MO
0
 
Michael OrtegaSales & Systems EngineerCommented:
@Daler,

Furthermore, you awarded Lee (who's a great Expert, by the way) all the points for generally pointing out how to look at what's consuming disk space on a volume?

Look at him. He has 18M points. He doesn't need anymore. =)

In all seriousness, it's no big deal. It just frustrates me sometimes that I took the time to make some recommendations which ended up being exactly what the issue was, but someone else get's the accolades.

And life goes on...

MO
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 6
  • 4
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now