How do I enable TRIM / Discard in a OpenStack KVM instance?
Issue
-
How do I enable
TRIM
(Discard) in a OpenStack KVM instance? -
Mounting a file system with the option
discard
and runningfstrim /
results the error:fstrim: /: FITRIM ioctl failed: Operation not supported
.
Environment
Red Hat OpenStack Platform (OSP) 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.