Openstack Nova Enable TRIM Instances

Solution Verified - Updated -

Issue

  • How do I enable TRIM (Discard) in a OpenStack KVM instance?
  • Mounting a file system with the option discard and running fstrim results with the error:
    fstrim: /: FITRIM ioctl failed: Operation not supported.

Environment

Red Hat Openstack Platform 13
Red Hat Openstack Platform 16

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