?
Solved

Reclaim thin Provisioned space

Posted on 2013-06-23
12
Medium Priority
?
483 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 123

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 123
ID: 39269752
It's the easiest and quickest method.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
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:
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…
Suggested Courses

752 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