XFS filesystem shuts down due to I/O errors from loss of paths

XFS filesystem shuts down due to I/O errors from loss of paths

 SOLUTION UNVERIFIED - 已更新 2015年一月22日09:47 - 

English 

環境

  • Red Hat Enterprise Linux 6.5
  • multipath
  • XFS

問題

  • We are copying(rsync) data from current file system to new file system but after few GB copied the job aborted.
  • System log shows these errors:

Raw

Jan 18 23:46:53 multipathd: checker failed path 8:96 in map mpatha
Jan 18 23:46:53 multipathd: mpatha: remaining active paths: 0
Jan 18 23:46:54 kernel: XFS (dm-12): metadata I/O error: block 0x80076bb0 ("xlog_iodone") error 5 buf count 28672
Jan 18 23:46:54 kernel: XFS (dm-12): xfs_do_force_shutdown(0x2) called from line 1062 of file fs/xfs/xfs_log.c.  Return address = 0xffffffffa01de131
Jan 18 23:46:54 kernel: XFS (dm-12): Log I/O Error Detected.  Shutting down filesystem
Jan 18 23:46:54 kernel: XFS (dm-12): Please umount the filesystem and rectify the problem(s)

決議

  • Add the queue_if_no_path (or no_path_retry=queue) option to the multipath configuration.
  • Unmount and check the XFS filesystem for any on disk errors due to the shutdown.

Raw

# xfs_repair <device>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章