Why does online discard not seem to work for SSD devices?

Solution In Progress - Updated -

Issue

Storage space does not seem to get cleared after data gets deleted from the ext4 file-system even if its specified with the discard option in fstab, or mounted manually using -o discard. Running fstrim manually works.

Official documentation for block discard mentions that online discard is supported on ext4. Why is this not reflecting in the available storage space ?

Environment

Red Hat Enterprise Linux 6.2 and later

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