我对fsck修正有一个困惑。我损坏了inode的ACL块。试图理解fsck是如何纠正的。它比较并执行校正的值是什么。
Does `fsck` corrects the inconsistency of the file system by comparing the `on-disk` structures with the `Journal` or with the buffer. Or does it checks the `superblocks` with the other structures.发布于 2014-04-04 16:05:01
“更正”并不一定意味着你认为它意味着什么。
通常,磁盘上没有数据或元数据的多个副本,即使有,也可能无法确定哪一个是正确的。
fsck只是更改元数据,以使文件系统再次保持一致。但结果可能是一个过时的副本,或者一些看起来像正确数据的垃圾;在极端情况下,使损坏的数据保持一致的唯一方法可能是将其完全删除。
https://stackoverflow.com/questions/22826799
复制相似问题