Recover a Corrupted File System on Linux

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

All is not lost upon discovering a corrupted file system! Both XFS and EXT file systems offer tools to aid in the repair and recovery of a broken file system. In this lab, you will investigate and repair two servers that were accidentally overwritten, and then mount the servers to confirm the fix has worked. _This lab is not approved or sponsored by Red Hat._

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Discover and Attempt to Mount the File Systems

Use /etc/fstab to view file system information. Then, attempt to mount the file system and review the error returned.

Repair the File Systems

Use XFS- and EXT-based repair tools to fix the file systems.

Mount the File Systems

Mount the file systems and check that there are files loaded.

Additional Resources

In the process of reformatting a different drive, you accidentally overwrote /dev/nvme1n1 and its two partitions, /images and /videos, which are used to store image and video content, respectively.

To resolve this issue, recover and mount the two file systems.

Note: You will need to become the root user to perform the actions in this hands-on lab.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?