本文主要是介绍openvz UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
场景:openvz环境被删通过克隆其他类似环境的root.hdd来进行系统恢复
启动错误信息
[root@test-34 122]# vzctl start 122
Starting container...
Opening delta /vz/private/122/root.hdd/root.hdd
Adding delta dev=/dev/ploop50968 img=/vz/private/122/root.hdd/root.hdd (rw)/dev/ploop50968p1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.(i.e., without -a or -p options)
Error in e2fsck (fsutils.c:315): e2fsck failed (exit code 4)Failed to mount image: Error in e2fsck (fsutils.c:315): e2fsck failed (exit code 4)[41]
修复流程
ploop check -F /vz/private/122/root.hdd/root.hdd
ploop mount /vz/private/122/root.hdd/DiskDescriptor.xml
fdisk -l /dev/ploop50968
e2fsck /dev/ploop50968
vzctl start 122
这篇关于openvz UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!