Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 488
  • Last Modified:

Reclaim thin Provisioned space

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
MOQINFRA
Asked:
MOQINFRA
  • 6
  • 6
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
MOQINFRAAuthor Commented:
i hoped for easier way. but i will give this a shot.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It's the easiest and quickest method.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
MOQINFRAAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
how do you want the disk to be configured?
0
 
MOQINFRAAuthor Commented:
show only what is used both in Windows and Vmware  (Thin provisioned)
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
so what do you have at present?

what space is used in the VM?

what size is the virtual disk?
0
 
MOQINFRAAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
MOQINFRAAuthor Commented:
How can i tell what the size of virtual disk is,.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Right Click the VM, Edit Settings, select virtual disk
0
 
MOQINFRAAuthor Commented:
Thank you for all your responses. I think I was able to reclaim the storage back
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now