VMware Cloud Community
scotty_p
Enthusiast
Enthusiast
Jump to solution

Thin Disks

I just set up a vm with thin disks. I filled up all the space on the hard drive and watched the vmdk increase in size. I then deleted 10gb of files, but the vmdk did not shrink. Shouldn't the vmdk go down in size when data is deleted? Do I have to manually shrink it to reclaim the space?

Thanks,

Scott

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
mittim12
Immortal
Immortal
Jump to solution

You would have to manually shrink the disk to reclaim the space. Check out this link on a way to do that.

http://communities.vmware.com/message/1409908






If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points

View solution in original post

0 Kudos
4 Replies
mittim12
Immortal
Immortal
Jump to solution

You would have to manually shrink the disk to reclaim the space. Check out this link on a way to do that.

http://communities.vmware.com/message/1409908






If you found this or any other post helpful please consider the use of the Helpful/Correct buttons to award points

0 Kudos
DSTAVERT
Immortal
Immortal
Jump to solution

When data is deleted from within the OS the data is not actually removed from the disk and ESX has no way to know about the fact. The tools like sdelete zero out the deleted data allowing the shrink tool to shrink the to the used size of the vmdk.

A shrink tool would be VMware converter or storage vmotion or some other tool to recreate the disk.

-- David -- VMware Communities Moderator
KamilAzmer
Hot Shot
Hot Shot
Jump to solution

Thin only grow with your file size but when you already put a data and removed/delete it, it's not will free up the vmdk disk size. you have to shrink it first by using sdelete or VMware Tools (Shrink Option) after sdelete you need to do SVMotion or vmdk clones to reclaim the space. It have to do manually.

Correct me if i'm wrong.

@ -- visit my blog at http://www.azmer.my -- @ virtue your mind @ KamilAzmer
scotty_p
Enthusiast
Enthusiast
Jump to solution

That's a bummer. I thought it would automagically reclaim it.

Thanks for everyone's help.

0 Kudos