What utility is used to check for and repair errors in an ext2/ext3/ext4 filesystem?

Prepare for the LPI 101-500 Certification Exam. Utilize flashcards, navigate multiple choice questions, and benefit from hints and explanations. Begin your Linux certification journey today!

The utility used to check for and repair errors in an ext2/ext3/ext4 filesystem can indeed include all the listed options. The primary tool, fsck, stands for filesystem check, and it is a general command used in Linux for checking the integrity of the filesystem. When fsck is applied to ext filesystems, it automatically invokes the appropriate filesystem-specific checker.

The fsck.ext4 command specifically targets ext4 filesystems, making it a tailored option for that specific type. Similarly, e2fsck is designed for ext2 and ext3 filesystems as well as ext4, providing a more focused approach. All three utilities serve the same core purpose but may have slight differences in options or behavior depending on the context or the specific filesystem version they are meant to handle.

When using any of these utilities, users can check for inconsistencies and repair any found issues, maintaining the overall health of the filesystems. Therefore, all the mentioned options are correct for checking and repairing errors in ext filesystems.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy