首页> 外文期刊>ACM Transactions on Storage >Recon: Verifying File System Consistency at Runtime
【24h】

Recon: Verifying File System Consistency at Runtime

机译:侦察:在运行时验证文件系统一致性

获取原文
获取原文并翻译 | 示例
           

摘要

File system bugs that corrupt metadata on disk are insidious. Existing reliability methods, such as checksums, redundancy, or transactional updates, merely ensure that the corruption is reliably preserved. Typical workarounds, based on using backups or repairing the file system, are painfully slow. Worse, the recovery may result in further corruption. We present Recon, a system that protects file system metadata from buggy file system operations. Our approach leverages file systems that provide crash consistency using transactional updates. We define declarative statements called consistency invariants for a file system. These invariants must be satisfied by each transaction being committed to disk to preserve file system integrity. Recon checks these invariants at commit, thereby minimizing the damage caused by buggy file systems. The major challenges to this approach are specifying invariants and interpreting file system behavior correctly without relying on the file system code. Recon provides a framework for file-system specific metadata interpretation and invariant checking. We show the feasibility of interpreting metadata and writing consistency invariants for the Linux ext3 file system using this framework. Recon can detect random as well as targeted file-system corruption at runtime as effectively as the offline e2fsck file-system checker, with low overhead.
机译:损坏磁盘上的元数据的文件系统错误是隐患。现有的可靠性方法(例如校验和,冗余或事务更新)仅确保可靠地保留了损坏。基于使用备份或修复文件系统的典型解决方法非常缓慢。更糟糕的是,恢复可能会导致进一步的损坏。我们介绍了Recon,该系统可保护文件系统元数据免受错误的文件系统操作的侵害。我们的方法利用了通过事务更新提供崩溃一致性的文件系统。我们为文件系统定义称为一致性不变性的声明性语句。这些不变性必须通过将每个事务提交到磁盘来满足,以保持文件系统的完整性。 Recon在提交时检查这些不变量,从而将错误的文件系统所造成的损害降至最低。这种方法的主要挑战是指定不变量,并在不依赖文件系统代码的情况下正确解释文件系统的行为。 Recon为特定于文件系统的元数据解释和不变检查提供了一个框架。我们展示了使用此框架为Linux ext3文件系统解释元数据和编写一致性不变式的可行性。 Recon可以像运行脱机e2fsck文件系统检查器一样有效地检测运行时的随机文件和目标文件系统损坏,并且开销较低。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号