Solved

VMWare provisioned space too large

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

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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 117
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
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 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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now