How to Recover Deleted Files on Ext3/Ext4 Linux Filesystems Using D‑Recovery
This article explains why recovering deleted data on Ext3/Ext4 Linux filesystems is challenging, describes the role and limitations of the journal log, and provides a step‑by‑step demonstration of using D‑Recovery for Linux to restore files after deletion.
Recovering files deleted from Ext3/Ext4 Linux filesystems is difficult because the original inode’s data block pointers are cleared, effectively destroying the file’s metadata.
Ext3/Ext4 are journaling filesystems; during formatting a fixed‑size journal file (commonly 64 MB, 128 MB, or 256 MB) is created to record operations such as file creation and deletion, including file names and inode information.
The journal allows recovery by using the recorded inode data before it is cleared, but the journal’s limited size means it only retains the most recent operations; once full it overwrites older entries.
For example, deleting 100 files easily fits into the journal, while deleting 100,000 files may exceed its capacity, so only the latest deletions are recoverable.
Step 1: Create a 10 GB Ext3 partition in a Linux VM (VMware).
Step 2: Mount the partition and write data to it.
Step 3: Unmount the filesystem and open the partition with D‑Recovery for Linux.
Step 4: Delete the ucenter directory, scan with D‑Recovery, and recover files from the journal.
Conclusion: Ext3/Ext4 file recovery relies on residual inode information in the journal; because the journal size is limited, it can only restore a small number of deleted files. D‑Recovery for Linux handles such cases easily, but large‑scale deletions lack a robust solution. Recovery is possible only if the data has not been overwritten by new writes.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
MaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
