Why does the df command not show correct values for nfs mounted volumes when served by NAS such as NetApp/EMC filer?

Solution Verified - Updated -

Issue

  • df command is reporting more usage than what's visible from the share path:

    # df -h /test
    Filesystem                 Size  Used Avail Use% Mounted on
    nfs-server:/share  100G  100G  708M 100% /test
    
    #  du -shx /test
    46G     /test
    
  • several files are removed, but space is not reclaimed as per df -h output.

  • the actual usage doesn't match up with du.

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Network File System (NFS)
  • NAS (e.g. NetApp Filer, or EMC, or other third-party NAS)

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