A `stat` on a directory on a gfs2 filesystem errors with `stat: cannot stat ‘test2’: Input/output error`

Solution Verified - Updated -

Issue

• A stat on a directory on a gfs2 filesystem errors with stat: cannot stat ‘test2’: Input/output error

root@node1:/home>mkdir test1
root@node1:/home>ls -la
drwxr-xr-x   2 root      root        3864 Dec  2 16:17 test1

root@node2:/home>ls –la
drwxr-xr-x   2 root      root        3864 Dec  2 16:17 test1

root@node1:/home>mv test1 test2
root@node1:/home>ls -la
drwxr-xr-x   2 root      root        3864 Dec  2 16:17 test2

root@node2:/home>ls -al
d??????????  ? ?         ?              ?            ? test2
root@node2:/home>stat test2
stat: cannot stat ‘test2’: Input/output error

Environment

  • Red Hat Enterprise Linux Server 7 (with the High Availability Add On and Resilient Storage Add Ons)
  • A Global Filesystem 2(gfs2)

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