Hi, Geoff, Thanks, while I think they are mostly DATA volumes as what I see on the UI, but shouldn't they will be deleted automatically after a VM instance has been deleted and expunged? Or one has to delete DATA volumes explicitly by hand( if so, finding out which DATA volume belongs to which VM will be a problem, as the VM has already gone)? NameDATA-34 IDdf4d1b29-4c8b-4308-912e-88a7511ffdf7Zonezone1StateReadyStatus TypeDATADISKStorage TypesharedHypervisorKVMSize 30.00 GBMin IOPS Max IOPS VM IDdetachedVM display name VM state Device ID StorageprimaryCreated29 Jan 2015 11:02:49DomainROOTAccountadmin Cheers, Dan 2015-02-03 3:02 GMT-06:00 Geoff Higginbottom < geoff.higginbottom@shapeblue.com>: > @All, > > Dan has now shared more info on his setup, anyone out there know of any > known issues with KVM not cleaning up primary storage. > > @Dan - can you confirm we are talking about Root volumes and not Data > Volumes > > Regards > > Geoff Higginbottom > > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 > > geoff.higginbottom@shapeblue.com > > -----Original Message----- > From: Dan Dong [mailto:dongdan39@gmail.com] > Sent: 02 February 2015 20:14 > To: users@cloudstack.apache.org > Subject: Re: Force cleaning primary storage. > > Hi, Geoff, > Thanks a lot, here are the details: > 1. CloudStack version: 4.4.1 > 2. Hypervisor: KVM > 3. Primary storage is NFS, but system.vm.use.local.storage is set to true. > And: > expunge.delay > 360 > > expunge.interval > 3600 > > expunge.workers > 1 > > > > Cheers, > Dan > > 2015-02-02 10:36 GMT-06:00 Geoff Higginbottom < > geoff.higginbottom@shapeblue.com>: > > > 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 > > > > geoff.higginbottom@shapeblue.com > > > > -----Original Message----- > > From: Dan Dong [mailto:dongdan39@gmail.com] > > Sent: 02 February 2015 16:12 > > To: users@cloudstack.apache.org > > 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 > > CloudStack Consulting > > 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. > > > 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 > CloudStack Consulting > 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. >