fstrim fails for md-raid0 devices with 'the discard operation is not supported' in RHEL7

Solution Unverified - Updated -

Issue

  • 'fstrim' fails for md-raid0 devices with the discard operation is not supported in RHEL7.
fstrim -v /mount_point
fstrim: /mount_point: the discard operation is not supported

Environment

  • Red Hat Enterprise Linux 7.2
    • kernel higher than 3.10.0-229.el7.x86_64.

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.