blob: d162d848cc3037ec6f24cf71ec92a99bc123b946 [file] [log] [blame]
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
%BOOK_ENTITIES;
]>
<!-- Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<section id="volume-deletion-garbage-collection">
<title>Volume Deletion and Garbage Collection</title>
<para>The deletion of a volume does not delete the snapshots that have been created from the volume</para>
<para>When a VM is destroyed, data disk volumes that are attached to the VM are not deleted.</para>
<para>Volumes are permanently destroyed using a garbage collection process. The global configuration variables expunge.delay and expunge.interval determine when the physical deletion of volumes will occur.</para>
<itemizedlist>
<listitem><para>expunge.delay: determines how old the volume must be before it is destroyed, in seconds</para></listitem>
<listitem><para>expunge.interval: determines how often to run the garbage collection check</para></listitem>
</itemizedlist>
<para>Administrators should adjust these values depending on site policies around data retention.</para>
</section>