Solved

Reclaim thin Provisioned space

Posted on 2013-06-23
12
474 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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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 117
ID: 39269752
It's the easiest and quickest method.
0
 

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 117
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 117
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 117
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 117
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

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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…
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:

757 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

18 Experts available now in Live!

Get 1:1 Help Now