XFS filesystem shuts down due to I/O errors from loss of paths
SOLUTION UNVERIFIED - 已更新 2015年一月22日09:47 -
环境
- 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:
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.
# xfs_repair <device>