OpenStack: Does Cinder volume with NFS driver support space reclaimation?
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.
