Var*_*ria 15 boot centos mount xfs uefi
我已经在我的机器上安装了 centOS 7,过去 4-5 个月我一直在使用它,它运行良好。但是几天前由于停电(不正确关闭),我的机器发生了一些不好的事情。现在,当我启动系统时,它一开始就给了我这条消息。
XFS (dm-0): Internal error XFS_WAIT_CORRUPTED at line 1600 of file fs/xfs/libxfs/xfs_alloc.c. Caller xfs_free_extent+0xf9/0x130 [xfs]
XFS (dm-0): Failed to recover EFIs
Run Code Online (Sandbox Code Playgroud)
带有结束错误消息
...
Mounting /sysroot...
[ ***] A start job is running for /sysroot (3min 59s / 4min 31s)[240.527013] INFO: task mount:406 blocked for more than 120 seconds.
[ 240.527056] "echo 0 > /proc/sys/kernel/hung_task_timeout+secs" disables this message."
[FAILED] Failed to mount /sysroot.
See 'systemctl status sysroot.mount' for more details.
[DEPEND] Dependency failed for Initrd Root File System.
[DEPEND] Dependency failed for Reload Configration from the Real Root.
[ OK ] Stopped dracut pre-pivot and cleanup hook.
[ OK ] Stopped target Initrd Default Target.
[ OK ] Reached target Initrd File System.
[ OK ] Stopped dracut mount hook.
[ OK ] Stopped target Basic System.
[ OK ] Stopped System Initialization.
Starting Emergency Shell...
Genrating "/run/initramfs/rdsosreport.txt"
Entering emergancy mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to usb stick or /boot
after mounting them and attach it to a bug report.
:/#
Run Code Online (Sandbox Code Playgroud)
可以解决这个问题
请指导如何执行上述任何一项操作来解决我的问题。
注意:如果有另一种方法可以在不丢失旧数据的情况下重新安装操作系统,请告诉我。
编辑:1 我用 live-cd 运行 xfs_repair,输出是
sudo xfs_repair -v /dev/dm-0
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Phase 1 - find and verify superblock...
superblock read failed, offset 0, size 524288, ag 0, rval -1
fatal error -- Input/output error
Run Code Online (Sandbox Code Playgroud)
J H*_*J H 31
就我而言,以下命令有所帮助。
sudo xfs_repair -v -L /dev/dm-0
Run Code Online (Sandbox Code Playgroud)
我的节点在断电后无法启动,并收到错误“无法挂载 /sysroot”并进入紧急模式。
挂载和卸载失败,所以继续使用-L选项运行,这有助于我的节点再次启动。
| 归档时间: |
|
| 查看次数: |
74405 次 |
| 最近记录: |