Hi Dan, Please share the following to help the community help you
1. version of cloudstack 2. Hypervisor Type 3. Primary Storage Type e.g. NFS / iSCSI I can confirm CloudStack is supposed to delete Root Volumes from physical storage after the VM has been deleted, but Data volumes are left in CloudStack as a safeguard against accidental deletion. However if you then delete the Data volume from the UI, it will also be deleted from Primary Storage. There are some settings which control the expunge delay within CloudStack, these are: expunge.delay expunge.interval expunge.workers If you could also share what these settings are, that would also help Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 [email protected] -----Original Message----- From: Dan Dong [mailto:[email protected]] Sent: 02 February 2015 16:12 To: [email protected] Subject: Force cleaning primary storage. Hi, All, I found the primary storages are keep decreasing after I create and then destroy VMs. Although the VMs are destroyed and expunged, their occupation on primary storage seems never been released( even after weeks). Is there a way to force releasing the disk space after a VM has been destroyed? Cheers, Dan Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
