LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-03-2011, 11:17 PM   #1
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
Need assistance with fixing filesystem corruption (ext3-fs group descriptor corrupted, no inittab)


When I rebooted my system (RHEL 5.3 x86_64), I got the following error when it was booting up:

Code:
Mounting root filesystem.
EXT3-fs Error (device dm-0): ext3_check_descriptors: Block bitmap for group 3328 not in group (block 33188)!
EXT3-fs: group descriptors corrupted!
mount: error mounting /dev/root on /sysroot as ext3: invalid argument
...
Full screenshot of the bootup error messages here: previous bootup error

So to try and fix this, I booted from the OS disk and did a linux rescue.

Here's some of the results of the commands I did:
Code:
sh-3.2# lvm lvchange -ay /dev/VolGroup00/LogVol00
sh-3.2# lvm lvscan
  ACTIVE             '/dev/VolGroup00/LogVol00/' [1.36 TB] inherit
  inactive           '/dev/VolGroup00/LogVol01/' [1.94 GB] inherit
sh-3.2# fsck -yfv /dev/VolGroup00/LogVol00
FYI: / is mounted on LogVol00, swap is LogVol01.

Here's a screenshot of the output from fsck after it's done, notice it says 0 bad blocks but the system was modified:fsck results

I then reboot but now I get the errors:

Code:
Setting up new root fs
no fstab.sys, mounting internal defaults
...
INIT: No inittab file found
Full screenshot of the startup errors I get now here: current bootup error

Does anyone have any ideas on how I can fix this? Was the fsck I did initially the correct thing to do to fix that initial group descriptor error or did I make things worse? I really need to get this system up so any help would be appreciated. Thanks!

Last edited by Arodef; 03-03-2011 at 11:20 PM. Reason: grammar
 
Old 03-03-2011, 11:34 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,497

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Quote:
Originally Posted by Arodef View Post
Was the fsck I did initially the correct thing to do to fix that initial group descriptor error
Yes, you didn't have any option (other than a full restore of course)
Quote:
... or did I make things worse?
Possibly.
As I am continually warning on these fora, fsck is a filesystem integrity tool, not necessarily a data/file integrity tool. You didn't do anything wrong, but there is no way to know if any corruption (of data) occurs during fsck. Or to what.
inittab may be the only thing affected - or not. In such cases I rebuild the system - either totally, or from a recent backup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EXT3-fs: group descriptors corrupted! secretlydead Linux - Hardware 1 01-31-2010 09:34 AM
fixing a corrupted xinitrc file Castanea_d. Linux - Newbie 2 05-30-2007 09:17 AM
EXT3-fs:group descriptors corrupted! (GNU/RH9) jjlune Linux - General 13 04-16-2006 05:38 PM
EXT3-fs: group descriptors corrupted dadriver Linux - Hardware 2 02-04-2006 04:16 AM
EXt3-fs:group descriptors corrupted. anjanesh Fedora 0 11-15-2004 01:26 AM


All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration