LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Server not booting after recovery (https://www.linuxquestions.org/questions/linux-newbie-8/server-not-booting-after-recovery-841310/)

guessity 10-30-2010 12:51 AM

Server not booting after recovery
 
I got an online centos server and it suddenly stopped rebooting. I taught there is some issue with filesystems and I went into centos recovery mode and did filesystem cleanup so I did fsck and e2fsck .

How do I re-mount the disk in centos recovery mode so it boots up normally? I am unable to mount them normally as its giving me some diskless error or am I doing something wrong?

ongte 10-30-2010 03:52 AM

First things first, in repair mode booting from the cd, if you chose continue, you should be be told whether the partitions were found & mounted for u in /mnt/sysimage. if they were not found, you should reboot the cd again & then choose skip, then run fsck on all your partitions.

Please let us know what commands you were running & what exact errors u are getting.

guessity 10-31-2010 03:47 PM

I rank fsck from Centos recovery mode and got the following output. It just doesn't reboot in normal mode. I dont have physical access to the server and run it offline.

What am I doing wrong? How do I reboot to come to normal mode?

Code:

FULL REPORT
--------------------------------------------------------------------------
Starting disk checks at Sat Oct 30 01:34:35 EDT 2010
Finished disk checks at Sat Oct 30 05:21:41 EDT 2010
------------------------------------------------------------
------------------------------------------------------------
Workin on /dev/sda1
fsck 1.35 (28-Feb-2004)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/boot: ***** FILE SYSTEM WAS MODIFIED *****
/boot: 42/50200 files (9.5% non-contiguous), 23941/200780 blocks
------------------------------------------------------------
Workin on /dev/sda3
fsck 1.35 (28-Feb-2004)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/: ***** FILE SYSTEM WAS MODIFIED *****
/: 3315011/242057216 files (5.0% non-contiguous), 87966355/242043322 blocks


ongte 11-08-2010 06:44 AM

If I'm guessing right, you probably ran fsck while the partitions were still mounted. This is usually very bad. It causes massive data corruption in the filesystem. In the few cases that I've seen, usually the whole system is hosed. Best solution would be to salvage what data you can & reinstall.

If anyone knows how to fix a system like this, I'd sure like to know.


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