我有带有 20 个设备的 md raid ext4,所有设备都处于良好状态。现在,无论何时我这样做,df -h
我都会在“可用”下看到负值。
我尝试用umount
&重新组建突袭小组mount
,但没有帮助。
我被告知运行fsck.ext4 /dev/md0
但是我收到错误消息:
Filesystem has unsupported features, get newer fsck version.
因此我安装了 e2fsprogs-1.43.1,运行时./e2fsck /dev/md0
出现大量错误:
BackUp: Inode 222789841 block 696 conflicts with critical metadata, skipping block checks.
BackUp: Inode 222789841 block 466 conflicts with critical metadata, skipping block checks.
BackUp: Inode 222789841 block 470 conflicts with critical metadata, skipping block checks.
BackUp: Inode 222789841 block 568 conflicts with critical metadata, skipping block checks.
BackUp: Inode 222789841 block 614 conflicts with critical metadata, skipping block checks.
BackUp: Inode 222789841 block 2382364674 conflicts with critical metadata, skipping block checks.
BackUp: Inode 222789841 block 3531604892 conflicts with critical metadata, skipping block checks.
最后它说失败了。
BackUp: Inode 222789841 is too big.
BackUp: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
答案1
UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
表示磁盘中存在一些文件系统错误。fsck
手动运行该命令。之后它会询问更多问题 - 只需回答y
并按下enter,最后重新启动系统。来源。
答案2
您必须运行手册fsck
。
请注意,此操作应在文件系统未挂载的情况下完成,因此如果需要检查根文件系统,最简单的方法是发出touch /forcefsck
并重新启动系统。
问候。