Why does 'df' omit some NFS shares in its output on Red Hat Enterprise Linux 7?

Solution Verified - Updated -

Issue

  • Why does df omit some NFS shares in its output on Red Hat Enterprise Linux 7?
  • When issuing the df command some NFS shares are not visible in the output.
  • df -h does not show autofs direct mounts
  • When the command is issued with the -a flag the shares are visible.
  • The NFS shares are being shared from the same server under the same directory tree, for example:
server.example.com:/share
server.example.com:/share/foo
server.example.com:/share/bar

Environment

  • Red Hat Enterprise Linux 7.2
  • coreutils-8.22-11.el7

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