Is fstrim supported with NFS?

Solution Verified - Updated -


  • # 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.


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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In