一、问题描述

Centos启动时提示如下错误信息:

[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”
如下图所示:
在这里插入图片描述

二、解决办法

1、ls -l /dev/mapper/
在这里插入图片描述
2、xfs_repair /dev/mapper/cl-root
若提示如下信息:
在这里插入图片描述
3、xfs_repair -L /dev/mapper/cl-root

4、最后执行init 6重启
在这里插入图片描述

参考文章:https://www.cnblogs.com/linkenpark/p/7873202.html

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐