How to perform 'fstrim' operation on the RBD PV's in an OpenShift Container Storage 4.X cluster?

Solution Verified - Updated -

Issue

  • How to perform fstrim operation on the RBD PV's in an OpenShift Container Storage 4.X cluster?

  • The Persistent Storage tab on the OpenShift UI shows incorrect available space.

Environment

  • Red Hat OpenShift Container Storage (OCS)
    • 4.8 and previous
  • Red Hat OpenShift Data Foundation (ODF)
    • 4.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content