Solved

VMWare provisioned space too large

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

785 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