Mounting V5 Filesystemmount : wrong fs type , bad option , bad superblock on / dev / mapper /miss ing codepage or he lor other errorIn some cases useful info is found in syslog - trysysroot
通过输入 journalctl 命令找到日志最下方[按end就到最下方了]
找到日志错误原因:
dm-0 ) : Mounting V5 Filesystemmount : wrong fs type , bad option , bad superblock on / dev / mapper /miss ing codepage or he lor other errorIn some cases useful info is found in syslog - trysysroot . mount mount process exited , code = exited status = 32Dependency failed for Initrd Root File SystemDependenced for Re load Conf iguration from the Real RootJob initrd-parse-etc . service / start failed with result ' dependencTriggering Onfailure = dependencies of initrd-parse-etc serviceJob initrd-root-fs . target / start failed with result ' dependencyTriggering Onfailure = dependencies of initrd-root-fs targetUnit susroot mount entered failed stateStopped dracut pre-udev hookStodracut initqueue hooktarget System InitializationStarted EmReached target Emergency ModeStopped dracut cmdiine hook
输入:xfs_repair -v -L /dev/dm-0
-L 选项指定强制日志清零,强制xfs_repair将日志归零,即使它包含脏数据(元数据更改)
然后重启服务器 reboot就可以了
引用博客:https://blog.csdn.net/qq_41610418/article/details/81704362