?
Solved

VMWare provisioned space too large

Posted on 2013-11-16
4
Medium Priority
?
540 Views
Last Modified: 2013-12-02
I have a VM sitting on my ESXi host.  It has a 1TB C: and an 8TB D: drive for data.

In vCenter, it shows a provisioned space of 19TB.  I have no snapshots.  Let me retype...I removed the three snapshots I had.  Still, it shows 19TB of provisioned space.

How?  Why?  What?

I really need to reclaim this erroneously provisioned space.

How can I do that?

Thanks

Cliff
0
Comment
Question by:crp0499
[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
  • 2
  • 2
4 Comments
 

Author Comment

by:crp0499
ID: 39653954
i have learned that the swap file was created several days ago when we first spun up the box and there wasn't enough RAM in the server and a swap file was created.  I went in and "reserved" the RAM and when it booted up, the huge file was gone.

However, there is still a disparity.  I see 19TB provisioned for a VM with an 8TB disk.

How do I reclaim this space?
0
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39653961
When a VM is powered on, a swap file is create the same size as memory assigned in the VM.

If you specifiy a memory reservation, a swap file is create equal to the memory reservation.

Can you please provide a screenshot of your datastore and vm folder.

could you also provide a screenshot of the VM Settings, e.g. Edit Settings, Machine Disks.

What size have you allocated to virtual disks e.g. vmdk?

1TB and 8TB

are you using the new ESXi 5.5 (as previous version of ESXi were limited to 2TB disks)?
0
 

Author Comment

by:crp0499
ID: 39653971
Hey buddy, glad you're on this.  This first foray into vmware in production is handing me my butt!

I read about the swap file and that's what it was...a vswp file.  So, I shut down, set my RAM to reserved, fired it up and now I no longer "see" the 8TB file.  

BUT, when I look at my datastore, it has not reclaimed the space.
0
 
LVL 123
ID: 39654224
That's very odd, I would refresh, wait a few hours, and then check at the console.

are you sure 8TB, that's alot of RAM to assign to a VM?
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

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.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Suggested Courses

764 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