fstrim command succeeds but storage utilization is not reduced on a thin-provisioned LUN
Issue
- The
fstrim
command returns a success message and the exit code is0
(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.