• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

“xfs_log_force: error 5 returned” – XFS Error (CentOS/RHEL 7)

By admin

The Problem

Found below error messages on the XFS filesystem.

kernel: XFS (dm-0): Corruption detected. Unmount and run xfs_repair
kernel: XFS (dm-0): xfs_do_force_shutdown(0x8) called from line 1369 of file fs/xfs/xfs_buf.c. Return address = 0xffffffffa01efd4c
kernel: XFS (dm-0): Corruption of in-memory data detected. Shutting down filesystem
kernel: XFS (dm-0): Please umount the filesystem and rectify the problem(s)
kernel: XFS (dm-0): xfs_log_force: error 5 returned.
kernel: XFS (dm-0): xfs_log_force: error 5 returned.
kernel: XFS (dm-0): xfs_log_force: error 5 returned.
kernel: XFS (dm-0): xfs_log_force: error 5 returned.
kernel: XFS (dm-0): xfs_log_force: error 5 returned.
kernel: XFS (dm-0): xfs_log_force: error 5 returned.
kernel: XFS (dm-0): xfs_log_force: error 5 returned.
kernel: XFS (dm-0): xfs_log_force: error 5 returned.

The Solution

Here, XFS encountered an IO error while attempting to write data, this indicates some issue with the underlying storage devices or disks. We need to examine if there was an issue with the underlying storage devices and also XFS filesystem needs to be repaired using the below steps.

Step 1: Un-mount the XFS filesystem:

# umount /mount_point

Step 2: Run below command to repair the XFS filesystem.

# xfs_repair [device]

Filed Under: CentOS/RHEL 7, Linux, OEL 7

Some more articles you might also be interested in …

  1. Downloading a Specific Version of Package and Its Dependencies from Repository for Offline Installation Using YUM
  2. CentOS / RHEL 7 : How to change the verbosity of debug logs during booting
  3. How to Transfer files securely using SCP Command in Linux
  4. How to configure LDAP Client on CentOS/RHEL 6 using SSSD
  5. How To Disable Or Extend System Logging Rate-limit on CentOS/RHEL 7
  6. How to use rndc command (command-line administration tool for named)
  7. How to grow/extend XFS filesytem in CentOS / RHEL using “xfs_growfs” command
  8. Unmounting a Windows Share Fails in Linux
  9. How to use Magic SysRq tool in CentOS / RHEL
  10. Linux “shutdown”, “poweroff”, “halt”, “reboot” Commands

You May Also Like

Primary Sidebar

Recent Posts

  • What are different Oracle Database Vault Roles
  • Unable to export realm protected table using data pump
  • Beginners Guide to Oracle Database Vault
  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary