Using the TRIM / discard option on an NFS backed virtual disk in Red Hat OpenStack Platform

Solution In Progress - Updated -

Issue

Using the TRIM / discard option on an NFS backed virtual disk in Red Hat OpenStack Platform

Solution https://access.redhat.com/solutions/2532341 describes how to enable TRIM / Discard in an OpenStack KVM instance. Does this solution work on cinder NetApp volumes in NFS shares provisioned by NetApp cinder driver?

Currently, VM disk size of sparse images (qcow2) increases even if huge files are deleted from the VM's file system - space once allocated cannot be reclaimed.

Environment

Red Hat OpenStack Platform 8.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In