After running a program for disk diagnostic made available by Seagate, my disk became blank. I was able to recover all the partitions with TestDisk, and their files are there just like before, except for one Ext4. TestDisk shows it, but the files are gone. Even without the files, I asked TestDisk to restore the partition. Not surprisingly, it doesn't mount.

I can see and even recover the files with R-Linux and PhotoRec, so I had hopes I could restore the filesystem, since the partition is (apparently) not severely damaged. But when I try to use alternative superblocks to repair the partition, none of them work (e2fsck: Bad magic number in super-block while trying to open /dev/sdb6. The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem.) And when I check the superblock backups with TestDisk, it gives only "superblock 0, blocksize=4096 []".

I would like to understand what could have caused this. If all the files are intact, why could the filesystem be lost?

  • Sometimes TestDisk recovers the wrong area of a disk. If it was off by a few sectors (say, if it was thrown by the remnants of an old filesystem), it might have recovered something that looks damaged because it's got the wrong start point. You might try deleting the partition (non-destructively; you do not want to erase any data!) and re-run TestDisk to see if it generates multiple options, and try one of them instead of whatever it's "recovered" this time. – Rod Smith Apr 12 '17 at 1:23
  • @RodSmith I think you may be right. TestDisk actually shows multiple partitions where there should be just one, but none of them work. I'll delete the partition with GParted and see what happens. – Raphael Apr 12 '17 at 3:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.