Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8684C17B71 for ; Tue, 3 Feb 2015 16:59:14 +0000 (UTC) Received: (qmail 13821 invoked by uid 500); 3 Feb 2015 16:58:58 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 13778 invoked by uid 500); 3 Feb 2015 16:58:58 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 13760 invoked by uid 99); 3 Feb 2015 16:58:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 16:58:58 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dongdan39@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 16:58:53 +0000 Received: by mail-ob0-f176.google.com with SMTP id wo20so14633272obc.7 for ; Tue, 03 Feb 2015 08:57:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UqNNyh5HHVgH6DNw7WcGrIuRktJ2eGtQPc7qLWQMgK4=; b=YD43WPemHskr/hq02Nz49OGgl/Bne1sCfVuJyAYBcZ59un2azRvpeCgLmAGT6/eFho q1ORreWRJG9u0Q10R/wH2Eh2FHAvjO4ppdWTmNUi3XTwAJGGfogoI/30cbgQdmty3GU9 mPsWhCFbKKC5NQICN2U5NkCyQofQTjO7MqdG5gLIjeZDIUq62GI2tvksdvI6OpZu/EZi 9iiVgB6rpnFUpQPUIRir6sv3WbwMJ47G5aP2uB/pH4GE/Xt/lO0Nma1NqseTfMaQOvoU xouYIbrC5q6cSfWOY8tCl3Tnjqp4xAwg2P7kHDFpI1DT0ZZz211fGgDx74iN3XPHPIIv mB0w== MIME-Version: 1.0 X-Received: by 10.60.23.99 with SMTP id l3mr16126313oef.66.1422982667731; Tue, 03 Feb 2015 08:57:47 -0800 (PST) Received: by 10.202.51.139 with HTTP; Tue, 3 Feb 2015 08:57:47 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Feb 2015 10:57:47 -0600 Message-ID: Subject: Re: Force cleaning primary storage. From: Dan Dong To: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7b33d6366e8971050e31f8ea X-Virus-Checked: Checked by ClamAV on apache.org --047d7b33d6366e8971050e31f8ea Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 =E2=80=93 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 service= s > > IaaS Cloud Design & Build< > http://shapeblue.com/iaas-cloud-design-and-build//> > CSForge =E2=80=93 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 o= r > 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 th= e > 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 send= er > 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 Bl= ue > Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Bras= il > and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd i= s > a company registered by The Republic of South Africa and is traded under > license from Shape Blue Ltd. ShapeBlue is a registered trademark. > --047d7b33d6366e8971050e31f8ea--