e2retrieve is a data recovery tool for Ext2 filesystem. This means that e2retrieve will not try to repair the filesystem but will extract data to "copy" it to another place (another disk, NFS, Samba, ...).
e2retrieve:
- can recover data from a truncated or split ext2 filesystem (in the case of a LVM with a disk that has crashed, for example),
- will not write onto the ext2 filesystem it is analysing, therefore it will never increase damages previously caused,
- recovers directories, directories tree, files, symbolic links and special files with their access rights, owner and modification date,
- is fully written in C from scratch,
- does not need any library,
- can easily fit in a rescue floppy disk (in the case where you do not have enough IDEslots),
- is not an undeleting tool
It started as a challenge after crash disk in a LVM (and that disk represented the first 10GB of the LVM, e.g. the first 10GB of the filesystem...), and because I wasn‘t able to find such a tool (now, it seems that e2extract does something similar), and e2salvage didn‘t do what I expected.
e2retrieve shouldn‘t be useful for those who are working in enterprise because they do backups (or they should do), but when when you are at home you can‘t pay for a full backup of 120GB, for example; but this doesn‘t meen you have to loose all of your data...
Download
If you play a bit with e2retrieve and that you see something weird, I encourage you to send me a mail. You can even send me raw data or image file you played with by FTP (through my ADSL line...). If you expect to recover data on a LVM, this version require a 2.4.x kernel with the LVM2 patch. I‘m working on a version compatible with 2.4.x, 2.6.x and myrescue (or incorporating myrescue)
NEW: this is a new version of e2retrieve_rescuedisk that should compile better (tested on Slackware 9.0, Suse 8.2 and Redhat 6.2 with GCC version 2.96, 3.2 & 3.3).
The following archive (e2retrieve_rescuedisk.tar.gz 36MB) will help you in creating a floppy bootable disk to recover your files. The bootable floppy disk will contain (after compiling and/or tweaking):
- Linux kernel 2.4.21 patched with Device Mapper for LVM2 support (framebuffer, ext2, ext3, reiserfs, no SCSI, device driver for common network card)
- uClib and Busybox,
- LVM2 utilities (and library) with support for LVM1 format,
- mke2fs, fdisk,
- french keyboard layout
- and e2retrieve :)
Links
Through the following links, you may find something that better fits your needs, gives better results or help going :
Check the data recovery page for the links.