XFS filesystem resource configured in pacemaker cluster fails to start with error: "mount(2) system call failed: Structure needs cleaning"
Issue
-
The start operation of the cluster resource
ocf:heartbeat:Filesystemwithfstype=xfsfails with below error messages:ERROR: Couldn't mount device [/dev/<device>] as /<mount path> [stderr mount: /<mount patch>: mount(2) system call failed: Structure needs cleaning.] -
Following XFS filesystem corruption messages being observed.
kernel: XFS (dm-7): xfs_do_force_shutdown(0x8) called from line 1042 of file fs/xfs/xfs_trans.c. Return address = 00000000090faf19 kernel: XFS (dm-7): Corruption of in-memory data detected. Shutting down filesystem kernel: XFS (dm-7): Please unmount the filesystem and rectify the problem(s) kernel: XFS (dm-7): Failed to recover intents kernel: XFS (dm-7): log mount finish failed
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- High Availability Add On or Resilient Storage Add On
- Pacemaker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.