Is fstrim supported with NFS?

Solution Verified - Updated -

Issue

  • # fstrim ran directly against a NFS share returns "the discard operation is not supported"
  • If a KVM guest is backed by NFS storage, # fstrim ran within the guest frees up space with certain NFS server vendors.

Environment

  • Red Hat Enterprise Linux
    • 7
    • 8
  • NFSv4.2

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