返回数说广场 #每日打卡#
0
PVE下的虚拟机由于断电后启动报错:
具体报错如下you might want to save “/run/initramfs/rdsosreport.txt“ to a USB stick or /boot after mounting them and attach it to a bug report
系统文件出错导致
解决方法:
1.创建快照,以免修复失败,还原重新修复
2.使用xfs_repair命令进行修复
查看LVM分区
ls -l /dev/mapper
... centos-root -> ../dm-0
... centos-swap -> ../dm-1
先修复下root分区
执行命令
xfs_repair /dev/mapper/centos-root
或者xfs_repair /dev/mapper/centos-root -L
注: -L 参数,这样可能会丢失部分数据。
最后reboot重启即可
0
0 527
分享
评论
热门数说


