Solved

Reclaim thin Provisioned space

Posted on 2013-06-23
12
479 Views
Last Modified: 2013-07-03
I created a VM in vsphere (Thin Provisioned)and installed windows 7 on it as i wanted to use it as Master VM for VDI

Unfortunately i added some huge files to it and then deleted them thinking it will free up the space

I wasnt aware that think provisioned space wont be released back .

Is there any way i can reclaim this space back for the windows 7 machine as i cant afford to have huge Master VM.

I tried SVMotion (changed Host) Think Provisioned eagered zeroed etc ..

then SVMotion it back with Thin provisioning but that did help
0
Comment
Question by:MOQINFRA
  • 6
  • 6
12 Comments
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39269575
the quickest and easiest way is to use VMware vCenter Converter Standalone  and create a V2V, and select the minimal space in the options, this will create a VM with just the space used. You can then specify thick or thin as the VM options.

see my EE Articles


HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.1
0
 

Author Comment

by:MOQINFRA
ID: 39269639
i hoped for easier way. but i will give this a shot.
0
 
LVL 119
ID: 39269752
It's the easiest and quickest method.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:MOQINFRA
ID: 39279151
I followed your suggestion and was able to reclaim the size. However now the properties of vm on summary tab show 20 GB free for this converted VM . But inside the windows only 16 GB shows available.

Can you suggest something i can do.
0
 
LVL 119
ID: 39279237
how do you want the disk to be configured?
0
 

Author Comment

by:MOQINFRA
ID: 39280415
show only what is used both in Windows and Vmware  (Thin provisioned)
0
 
LVL 119
ID: 39280488
so what do you have at present?

what space is used in the VM?

what size is the virtual disk?
0
 

Author Comment

by:MOQINFRA
ID: 39286799
I have attached the images that show in the properties of VM there is 20GB free , however inside Windows it shows 16GB as Free space
vm1.jpg
VM2.jpg
0
 
LVL 119
ID: 39286923
okay, so you have 23.3GB used in the VM.

is the size of the virtual disk currently 40GB?

what configuration do you want, a virtual disk size of 23.3GB? equal to the size in use in Windows?
0
 

Author Comment

by:MOQINFRA
ID: 39287699
How can i tell what the size of virtual disk is,.
0
 
LVL 119
ID: 39287995
Right Click the VM, Edit Settings, select virtual disk
0
 

Author Comment

by:MOQINFRA
ID: 39296813
Thank you for all your responses. I think I was able to reclaim the storage back
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

792 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