Ubuntu: ext4 broken file system on ubuntu 14.04.4



Question:

I have a desktop computer with Ubuntu Desktop 14.04.4 LTS 64-bit with an attached HDD USB 3.0 4TB Intenso 1 partition ext4 data drive only (no OS or Apps). After a sudden power failure I am unable to mount the drive (checked different host linux machines with no result).

error message:

sudo mount /dev/sdd1 /mnt  mount: wrong fs type, bad option, bad superblock on /dev/sdd1,         missing codepage or helper program, or other error         In some cases useful info is found in syslog - try         dmesg | tail  or so  

Tried with fsck, e2fsck with no result. Error message says "Get a newer version of e2fsck".

Tried with all available superblocks backups with no result.

Tried offline file/drive linux checkers on the offline and UNmounted volume with no result.

Finally I received the following error message for which I couldn't find any help online: ...

"has unsupported feature(s): metadata_csum".  e2fsck 1.42.9 (4-Feb-2014)  /dev/sdd1 has unsupported feature(s): metadata_csum  e2fsck: Get a newer version of e2fsck!  

Can anyone help me take my data back? Thank you in advance for any assistance.


Solution:1

metadata_csum stands for “Metadata Checksums” which is available for Ext4 file systems since Linux 3.6 but isn't supported by the file system tools until v1.43:

Support for checksums is sitting in the e2fsprogs WIP tree, which implies that it might appear in e2fsprogs 1.43.

Since Ubuntu Yakktey has e2fsprogs v1.43.3 you don't have to build it from source any longer. Instead, if you have Ubuntu Trusty or newer, you can download the Deb packages for e2fsprogs and e2fslibs for your architecture and install them with:

sudo dpkg -i e2fs{libs,progs}_*_$(dpkg --print-architecture).deb  

Note for non-x86* architectures: For whatever reason the package repositories behind the links above only have binary packages for the i386 and the amd64 architectures. If you need them for a different architecture you can download them from Launchpad.


Solution:2

I had the same problem and it took me some time to fix it, without formatting :)

Just follow this hint:

e2fsck: Get a newer version of e2fsck!  

You need to download the latest version of e2fsck, compile it and then use this version.

Here are some steps to follow (use 1.43.1 or newer):

wget http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.43.1/e2fsprogs-1.43.1.tar.gz  tar xzf e2fsprogs-1.43.1.tar.gz  cd e2fsprogs-1.43.1  ./configure # <== if this step fail, check the config.log file, it could just be that you are missing the "libc6-dev" package on your system  make  cd e2fsck/  ./e2fsck  

Voila!


Solution:3

I suggest to use Testdisk utility to recover ext4 partition data. It works great.

Following sources will help you to recover ext4 partition and data.

https://harshjv.github.io/blog/recover-deleted-data-using-testdisk-on-ubuntu/

http://www.pcworld.com/article/3132067/linux/how-to-recover-lost-data-using-testdisk.html

https://www.howtoforge.com/data_recovery_with_testdisk


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »