Centos断电后启动失败

Centos断电后启动失败

公司服务器断电,发现服务器启动失败,打开Remote Console,查看发现系统进入了救援模式,页面显示内容如下:

Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to try again to boot into default mode.

Give root password for maintenance

(or press Control-D to continue):

排查

根据提示,登录root用户,发现网卡启动失败,查看系统日志/var/log/messages

image

发现为/dev/mapper/centos-home分区启动失败导致. 查看系统信息,/dev/mapper/centos-home分区已经删除,但是在
/etc/fstab中还有启动配置,删除该配置, 然后重启即可.

posted @   tomoncle  阅读(565)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 如何调用 DeepSeek 的自然语言处理 API 接口并集成到在线客服系统
· 【译】Visual Studio 中新的强大生产力特性
· 2025年我用 Compose 写了一个 Todo App
点击右上角即可分享
微信分享提示