Summary

 

Many Thanks to Bill Campbell, Nicolas Sahlqvist and Barry Brimer

 

The problem turned out to be one of disk had software errors (message
attached), 

 

I used ubuntu live cd to fix this issue 

 

Cheers

Harry 

 

 

________________________________________________________________________
____________

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Harry Sukumar
Sent: Wednesday, 9 April 2008 11:48 AM
To: CentOS mailing list
Subject: [CentOS] Server Shut Down!!!!

 

Good Day All,

 

I have a serious problem on one of my servers running CentOS 5!!! 

 

The problem started this way, 

 

I wanted to store some data under /home and I got an error message
saying it is in the read only mode 

 

So I rebooted the machine, 

 

Then I see this serious error messages at boot time (I am unable to
boot)

 

Here is the Error Message!!!

 

*** Error occurred during the file system check.

*** Dropping you to shell; the system will reboot

*** when you leave the shell

Give root password for maintenance 

(or type control D to continue):

Bash: dircolors: command not found

Bash: /usr/bin/id: No such file or directory

Bash: [:=: unary operator expected

(Repair filesystem)1 #

 

When I press control D the machine reboots itself and comes back to the
same prompt asking for root password for maintenance 

 

Your help in this matter is highly appreciated

 

Many Thanks

Harry  

 

[EMAIL PROTECTED]:~# e2fsck -p /dev/sda6
/home contains a file system with errors, check forced.
/home: Inode 1556011 has illegal block(s).  

/home: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)
[EMAIL PROTECTED]:~# e2fsck /dev/sda6
e2fsck 1.40.2 (12-Jul-2007)
/home contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 1556011 has illegal block(s).  Clear<y>? yes

Illegal block #15 (100663556) in inode 1556011.  CLEARED.
Illegal block #16 (50331906) in inode 1556011.  CLEARED.
Illegal block #17 (16777217) in inode 1556011.  CLEARED.
Illegal block #18 (67109123) in inode 1556011.  CLEARED.
Illegal block #19 (201327111) in inode 1556011.  CLEARED.
Illegal block #20 (637536535) in inode 1556011.  CLEARED.
Illegal block #21 (4290367724) in inode 1556011.  CLEARED.
Illegal block #22 (3805336794) in inode 1556011.  CLEARED.
Illegal block #23 (738197504) in inode 1556011.  CLEARED.
Illegal block #24 (754974979) in inode 1556011.  CLEARED.
Illegal block #25 (3418407362) in inode 1556011.  CLEARED.
Too many illegal blocks in inode 1556011.
Clear inode<y>? yes

Restarting e2fsck from the beginning...
/home contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Extended attribute block 1247181 has reference count 717, should be 716.  
Fix<y>? yes

Pass 2: Checking directory structure
Entry '_CACHE_001_' in /harry/.mozilla/firefox/jujmk50m.default/Cache (1556009) 
has deleted/unused inode 1556011.  Clear<y>? yes

Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -(1585298--1585305) -(1585362--1585368)
Fix<y>? yes

Free blocks count wrong for group #48 (20173, counted=20188).
Fix<y>? yes

Free blocks count wrong (1578450, counted=1578465).
Fix<y>? yes

Inode bitmap differences:  -1556011
Fix<y>? yes

Free inodes count wrong for group #48 (32381, counted=32382).
Fix<y>? yes

Free inodes count wrong (1975634, counted=1975635).
Fix<y>? yes


/home: ***** FILE SYSTEM WAS MODIFIED *****
/home: 1741/1977376 files (4.4% non-contiguous), 405554/1984019 blocks
[EMAIL PROTECTED]:~# e2fsck /dev/sda6
e2fsck 1.40.2 (12-Jul-2007)
/home: clean, 1741/1977376 files, 405554/1984019 blocks

_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to