Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Reclaim thin Provisioned space

Posted on 2013-06-23
12
Medium Priority
?
485 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 125

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 125
ID: 39269752
It's the easiest and quickest method.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

564 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