Towards Robust File System Checkers

Author:

Gatla Om Rameshwar1,Zheng Mai1,Hameed Muhammad2,Dubeyko Viacheslav3,Manzanares Adam3,Blagojevic Filip3,Guyot Cyril3,Mateescu Robert3

Affiliation:

1. Iowa State University

2. New Mexico State University

3. Western Digital Research

Abstract

File systems may become corrupted for many reasons despite various protection techniques. Therefore, most file systems come with a checker to recover the file system to a consistent state. However, existing checkers are commonly assumed to be able to complete the repair without interruption, which may not be true in practice. In this work, we demonstrate via fault injection experiments that checkers of widely used file systems (EXT4, XFS, BtrFS, and F2FS) may leave the file system in an uncorrectable state if the repair procedure is interrupted unexpectedly. To address the problem, we first fix the ordering issue in the undo logging of e2fsck and then build a general logging library (i.e., rfsck-lib) for strengthening checkers. To demonstrate the practicality, we integrate rfsck-lib with existing checkers and create two new checkers: rfsck-ext, a robust checker for Ext-family file systems, and rfsck-xfs, a robust checker for XFS file systems, both of which require only tens of lines of modification to the original versions. Both rfsck-ext and rfsck-xfs are resilient to faults in our experiments. Also, both checkers incur reasonable performance overhead (i.e., up to 12%) compared to the original unreliable versions. Moreover, rfsck-ext outperforms the patched e2fsck by up to nine times while achieving the same level of robustness.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture

Reference88 articles.

1. Btrfs File System. n.d. https://btrfs.wiki.kernel.org/index.php/Main_Page. Btrfs File System. n.d. https://btrfs.wiki.kernel.org/index.php/Main_Page.

2. debugfs. n.d. http://man7.org/linux/man-pages/man8/debugfs.8.html. debugfs. n.d. http://man7.org/linux/man-pages/man8/debugfs.8.html.

3. Discussion with Theodore Ts’o at Linux FAST Summit’17. n.d. https://www.usenix.org/conference/linuxfastsummit17. Discussion with Theodore Ts’o at Linux FAST Summit’17. n.d. https://www.usenix.org/conference/linuxfastsummit17.

4. E2fsprogs: Ext2/3/4 Filesystem Utilities. n.d. http://e2fsprogs.sourceforge.net/. E2fsprogs: Ext2/3/4 Filesystem Utilities. n.d. http://e2fsprogs.sourceforge.net/.

5. Ext4 File System. n.d. https://ext4.wiki.kernel.org/index.php/Main_Page. Ext4 File System. n.d. https://ext4.wiki.kernel.org/index.php/Main_Page.

Cited by 10 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. PROV-IO: A Cross-Platform Provenance Framework for Scientific Data on HPC Systems;IEEE Transactions on Parallel and Distributed Systems;2024-05

2. MM-DIRECT;The VLDB Journal;2024-03-27

3. FaultyRank: A Graph-based Parallel File System Checker;2023 IEEE International Parallel and Distributed Processing Symposium (IPDPS);2023-05

4. On the Reproducibility of Bugs in File-System Aware Storage Applications;2022 IEEE International Conference on Networking, Architecture and Storage (NAS);2022-10

5. Comprehensive evaluation of file systems robustness with SPIN model checking;Software Testing, Verification and Reliability;2022-07-20

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3