EXT4-fs: group descriptors corrupted! Cannot mount disk using Ubuntu
Whaaa, Datageddon! My 2TB external just decided to stop working. "dmesg | tail" gave me the worst of the worst messages: "EXT4-fs (sda1): group descriptors corrupted!", which translates to me as "kiss your data bye bye"…
After some searching I came across the magic terminal commands to solve the problem:
Check for backup superblocks, replace the x’s with your partition name
# sudo mke2fs -n /dev/xxx
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Restore the superblock from the backup, again replacing the x’s with your partition name, and block_number with the first backup superblock
# sudo e2fsck -b block_number /dev/xxx
Now just wait 1 million years for it to fnish, and you'll have you trillions of bytes back.
Source: http://linuxexpresso.wordpress.com/2010/03/31/repair-a-broken-ext4-superblock-in-ubuntu/
EXT4-fs (sda1): group descriptors corrupted!
fsck.ext4: No such file or directory while trying to re-open
EXT4-fs (sdb1): group descriptors corrupted!
Error writing block 1 (Attempt to write block to filesystem resulted in short write). Possibly non-existent device?
EXT4-fs (sdc1): group descriptors corrupted!
26897
Thx a lot, you totally made my day.
I did just that (with a lot of carefully taken steps) on a Synology NAS (busybox) and it worked. I just love how the synology webui for resizing partitions on a RAID array just fails like the failure it is. Back to the command line i should never have left
I’m happy it helped you. Thanks for your comment!
This helped me recover a 1 TB of data at work, yikes!
Waiting for e2fsck to finish… Cound you post your bitcoin address for donation?
Glad my post helped you get it sorted.
I kept losing my wallets, so I swore to never get one again… well… I just got my first Bitcoin wallet, let’s see how long it takes until I lose this one
My Bitcoin Address is 14JX52Li7zTKbyQv2omw4tvu6Bi1KzfHNW
Here goes your Double Latte
For small amounts/fast payments in shops etc., I recommend Mycellium android wallet. When you install it, make paper backup immediately, so in case you lose your mobile phone – you won’t lose bitcoins (the wallet is encrypted so whoever finds your phone won’t be able to spend them).
I just realized I never said thanks… well, THANKS
Since I am terible at losing just about anything that isn’t permanently attached to my body, I never bothered to buy an expensive phone. My current one is a second hand Nokia C2, it’s awesome at making and receiving phone calls!
Awesome post! Thanks!
What’s the best way to handle the “Clone multiply-claimed blocks” prompt from e2fsck?
My 3-device RAID 5 array failed to inactive, used -f to force reassemble, mounted with file structure intact. Next reboot, “corrupt group descriptors”. Made the classic mistake of not backing up the moment I saw it good! Ouch.
Hi, have a look at this thread, in particular the post by “LostFarmer”
http://ubuntuforums.org/showthread.php?t=1720686
Hi,
Thanks for this info. I’m working on it now. Is there a way to force a “yes” answer to all the prompts? Is that even a good idea? I don’t know what most of it really means and assume that “yes” is the best choice if I’m to complete the repairs. I’ve already answered “yes” a gazillion times but I can’t stand here forever. :-)
So, if there is a way to do it, what would happen if I aborted the current process and re-issued the command with the force yes? Would it start over, forgetting everything it has already done, or are the repairs completed on the fly meaning that it would just begin repairing where it left off so-to-speak?
Thanks.
To make it answer “yes”, you just add -y to the command.
In your case, I would just stand there forever, since you already started it.
http://serverfault.com/questions/115426/is-it-safe-to-stop-a-fsck-in-progress
Thank you for this post, it was exactly what I needed.
To get to the point of figuring out what was going on, I’ve got a few good things: All I could tell was that my kernel was panicking during boot, and I couldn’t scroll back up to see why. So I changed the kernel boot options in GRUB and removed “rhgb quiet” (it’s CentOS), and added “rdshell”. This let me see messages as they went by and check out dmesg after the panic. I also found some use in the option “boot_delay=200”, which slows down the boot messages as they go by (be sure to not have quiet, or you see nothing).
From the stuff I saw in dmesg I was able to find your post, and I used SystemRescueCD to run the commands.
Thank you so much from Czech Republic. Your instructions rescued projection in our small cinema
I am happy to hear that, thanks for your comment.
hi! it helped me to rescue a 32Gb sdcard formatted ext4 ( /home partition on my eeep701)!
Thanks for your comment.
Knowing my post helped others makes me feel good, and that’s something money can’t buy!
Thanks for this post..this helped me to resolve the issue.