stat -f fails to recognize smb2 filesystem type.

Solution Verified - Updated -

Issue

  • Running stat -f on smb2 mounts does not show filesystem type.
#  stat -f /test
  File: "/test"
    ID: 0        Namelen: 4096    Type: UNKNOWN (0xfe534d42)
Block size: 1024       Fundamental block size: 1024
Blocks: Total: 102687672  Free: 58270928   Available: 58270928
Inodes: Total: 0          Free: 0

Environment

  • Red Hat Enterprise Linux 7
  • seen on coreutils-8.22-23.el7 and below

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