I remember doing something similar. I ended up writing 0s to the thin drive and it removes the required space and let's you do the sparse copies.

I'm not sure if this would still apply.

Andrew.

On Oct 23, 2013 7:00 AM, "Aslam, Usman" <Usman.Aslam@tufts.edu> wrote:

Hi fellow Ovirt users,

 

I have a situation where I need to clone a database VM several times. I have a 200GB thin allocated vdisk associated with it which had a large database on it.

I have since truncated several tables, removed bin logs etc. and reduced the disk usage to about 26GB. But the Ovirt UI still shows actual size at 185GB.

 

Screen Shots

 

 

 

How would I go about reclaiming deleted blocks?

 

This would speed up the cloning process and obviously use a lot less space.

 

I goggled but did not find much on the topic except for a similar article for VMware http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2014849

 

Thank you for your time!

 

Usman


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users