Solved

VMWare provisioned space too large

Posted on 2013-11-16
4
534 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 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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 120
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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

734 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