Reclaim Deleted Files and Repair Filesystems on Linux | Linux Today

Reclaim Deleted Files and Repair Filesystems on Linux

Written By
JW
Jack Wallen
Jan 26, 2011

“Linux is as solid an operating system as you’ll ever use — but
that doesn’t mean that the hardware you’re running it on is equally
solid. Hard drives are as prone to errors as are file systems. And
no matter how stable an OS is, it can’t prevent you from
accidentally deleting files and/or folders. But don’t despair:
Linux is equipped with a number of tools that can help you repair
filesystem errors and reclaim deleted files.

“Which tools? To start, e2fsck, scalpel, and lsof will get you
the farthest. Let’s take a look at how each of these can be used to
help your file systems be free of errors and your files be freed
from accidental deletion. Checking Ext2/Ext3/Ext4 Filesystems with
e2fsck

“The e2fsck utility takes after the original UNIX fsck utility,
but is used to check the Ext2/Ext3/Ext4 family of filesystems. It’s
used to check, and repair, filesystems that have been shut down
uncleanly or otherwise developed errors.”


Complete Story

JW

Jack Wallen

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.