?
Solved

ESX Thick to Thin still same size

Posted on 2010-09-09
11
Medium Priority
?
1,261 Views
Last Modified: 2013-11-14
I have a virtual server that was a 60gb thick disk. I used vmotion to move it to another datastore and changed it from thick to thin but its still 60gb on the datastore but inside the vm its only using 30gb of the 60gb disk. How can i get the vmdk to size down to just the used space like thin is suppose to work. This is on vmware ESX 4.0
0
Comment
Question by:cisconoshut
[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
  • 3
  • 2
  • 2
  • +3
11 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 33643231
rescan the controller and/or refresh the VI Client.
0
 

Author Comment

by:cisconoshut
ID: 33643242
that makes no difference the size is still 60gb on the datastore.
0
 
LVL 2

Expert Comment

by:ppdogs
ID: 33643438
was this machines HDD any time filled up to close to 60Gb?
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:cisconoshut
ID: 33643448
Yes its also a p2v.
0
 
LVL 28

Accepted Solution

by:
bgoering earned 1000 total points
ID: 33643461
Take a look at the summary page for the Virtual machine - under resources does it show a difference between provisioned size and used storage? Or in the Datastore browser a difference between Size and Provisioned Size?

Often it is a VM that has been around for a while, space won't be reclaimed if it isn't set to binary zeros. There is a Microsoft Sysinternals tool that (for Windows anyway) called sdelete (http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx) that will clear unused space to binary zeros - then another storage vmotion to thin will reclaim all that unused space.

Usage: sdelete -c c:
if c: is the drive to reclaim

If it isn't a Windows OS let me know what it is. I believe I found such a tool for Linux at one time but off the top of my head I can't recall what it is.

Good Luck

 
0
 
LVL 16

Expert Comment

by:danm66
ID: 33643560
are you using NFS storage by chance?
0
 
LVL 2

Expert Comment

by:ppdogs
ID: 33643574
as bgoering said. if it was full one time even if the files were deleted vmware may not be able to see any clear white spaces. defrag and zero the emprty space and try.
0
 
LVL 16

Expert Comment

by:danm66
ID: 33643670
you could cat out the descriptor file to verify that the disk is actually supposed to be thin.  It should have the line ddb.thinProvisioned = "1" within it.  See http://virtualbox-provenpractice.blogspot.com/2009/04/thick-disk-to-thin-disk.html if you are unsure how to do this.
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33643829
You should not even have to defrag (though that is not a bad idea for other reasons) if all you want to do is recover the physical disk space. If you do decide to defrag, do it before zero the unused space otherwise you will have used space wherever defrag moved files or file fragments around.
0
 
LVL 5

Assisted Solution

by:chkdsk01
chkdsk01 earned 1000 total points
ID: 33646349
You will need to reclaim that storage space.  Because the disk was originally thick, all 60 GB was allocated.  Then you converted it to thin....  The thick to thin conversion does just that, convert.  It does not reclaim the 30 GB of "empty" space.  Check out this article.
http://www.virtualizationteam.com/virtualization-vmware/vsphere-virtualization-vmware/vmware-esx-4-reclaiming-thin-provisioned-disk-unused-space.html 
0
 

Author Closing Comment

by:cisconoshut
ID: 33647571
Thanks so much that solved my issue.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses

764 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