Centos 7 启动错误:XFS_WANT_CORRUPTED_GOTO 修复
如果出现以下报错
[sda] Assuming drive cache: write through
Internal error xfs XFS_WANT_CORRUPTED_GOTO at line 1662 of file fs/xfs/libxfs/xfs_alloc.c Caller xfs_free_extent+0x130 [xfs]
Internal error xfs_trans_cancel at line 990 of file fs/xfs/xfs_trans.c.Caller xlog_recover_process_efi +0x16b/0x190 [xfs]
Corruption of in-memory data detected. Shutting down filesystem
Please umount the filesystem and rectify the problem(s)
Failed to recover EFIs
Generating "/run/initramfs/rdsosreport.txt"
修复方法:
如果是LVM管理分区的
ls -l /dev/mapper
xfs_repair /dev/mapper/cl_muban-root
若提示
xfs_repair -L /dev/mapper/cl_muban-root
最后重启
init 6