标签:page journal continue after 文件 map int modify --
今日由于电脑非正常关机,导致虚拟机文件系统报诸如:
generating “/run/initramfs/rdsosreport.txt”
entering emergencymode.
exit the shell to continue
type “journalctl” to view system logs.
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。这样的错误。
经过百度解决了问题,认为解决方案很nice!!!故作此笔记,进行总结与分享。
修复步骤:
《1》 ls -l /dev/mapper
《2》 mkdir /mnt
《3》 mount /dev/mapper/cl_muban-root /mnt # 这里也可以操作 提示中的 dm-0 (即 /dev/dm-0,其实/dev/mapper/cl_muban-root是链接到 /dev/dm-0 )
或者 mount /dev/dm-0 /mnt
《4》 umount /mnt
《5》 xfs_repair /dev/mapper/cl_muban-root 或 xfs_repair /dev/dm-0
《6》 init 6 (会直接reboot重启系统)
修复命令xfs_repair:
xfs_repair -h xfs_repair: invalid option -- ‘h‘ Usage: xfs_repair [options] device Options: -f The device is a file -L Force log zeroing. Do this as a last resort. -l logdev Specifies the device where the external log resides. -m maxmem Maximum amount of memory to be used in megabytes. -n No modify mode, just checks the filesystem for damage. -P Disables prefetching. -r rtdev Specifies the device where the realtime section resides. -v Verbose output. -c subopts Change filesystem parameters - use xfs_admin. -o subopts Override default behaviour, refer to man page. -t interval Reporting interval in minutes. -d Repair dangerously. -V Reports version and exits.
本次问题虽解决,然而知其然,却不知其所以然,后期应该重新回归。
标签:page journal continue after 文件 map int modify --
原文地址:https://www.cnblogs.com/zhihongming/p/11618428.html