fstrim command succeeds but storage utilization is not reduced on a thin-provisioned LUN

Solution Verified - Updated -

Issue

  • The fstrim command returns a success message and the exit code is 0 (success).
  • However, when checking the block utilization in the storage array's management interface, the usage percentage has not decreased.
  • Why is the space not being reclaimed by the storage array, even though the operating system appears to have successfully sent the discard notification?

Environment

  • Red Hat Enterprise Linux
  • External storage with thin provisioning enabled (e.g., HPE MSA series)

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