Solved

VMWare provisioned space too large

Posted on 2013-11-16
4
530 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
  • 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 119

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 119
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

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:

790 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