Is there DISCARD support for md/raid0 devices in RHEL 7?
Issue
In some RHEL7 versions the fstrim
command on md/raid0 reports following.
cmd: fstrim /mountpoint
fstrim: /mountpoint: the discard operation is not supported
And there are these logs in /var/log/messages
file with messages like below.
md/raid0: discard support disabled due to performance uncertainty.
Set raid0.devices_discard_performance=Y to override.
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.