Skip to main content
NetApp Knowledge Base

OpenStack: Does Cinder volume with NFS driver support space reclaimation?

Views:
735
Visibility:
Public
Votes:
7
Category:
openstack
Specialty:
core
Last Updated:

Applies to

OpenStack Cinder volume driver

Answer

No, a Cinder volume corresponds to a file within the NFS share provided by a FlexVol. Space is consumed when you write actual data to the Cinder volume.

Additional Information

ONTAP cannot read the filesystem within the Cinder volume to determine whether a block is in use, so removing a file within the Cinder volume won't free space. Only when you delete the Cinder volume will the corresponding file within the NFS share be deleted, and the space will be reclaimed.

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.