Bug 1046760

Summary: [RFE][nova]: ThinProvision:Shrink the volume when file in the instance was deleted
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: high    
Version: unspecifiedCC: markmc, ndipanov, sgordon, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged, Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/shrink-volume-in-thin-provisoning
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:08:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2013-12-26 23:02:26 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/shrink-volume-in-thin-provisoning.

Description:

Thin provision means allocating the disk space once the instance writes the data on the area of volume in the first time. 

However, if the files in the instance were deleted, thin provision could not deal with this situation. The space that was allocated by the files could not be released. 

So it is necessary to shrink the volume periodically when the files are deleted in the instance.

Specification URL (additional information):

None