fstrim fails for md-raid0 devices with 'the discard operation is not supported' in RHEL7
Issue
- 'fstrim' fails for md-raid0 devices with
the discard operation is not supportedin 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.
- kernel higher than
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
