LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2010, 01:51 AM   #1
guessity
Member
 
Registered: Dec 2009
Posts: 41

Rep: Reputation: 15
Red face 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?
 
Old 10-30-2010, 04:52 AM   #2
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
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.
 
Old 10-31-2010, 04:47 PM   #3
guessity
Member
 
Registered: Dec 2009
Posts: 41

Original Poster
Rep: Reputation: 15
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
 
Old 11-08-2010, 07:44 AM   #4
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
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.
 
  


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
grub booting gateway system recovery instead of windows SSJGoku Linux - Newbie 8 08-13-2009 11:51 PM
Booting Vista Recovery CD from GRUB nonoitall Linux - General 4 02-17-2008 08:45 PM
Grub, Ubuntu and HP Recovery (not booting) greeklegend Linux - General 4 06-03-2006 10:38 AM
no booting after installing ibm rescue & recovery spirou0711 Linux - Laptop and Netbook 2 01-13-2006 10:11 AM
Forgot only admin pass, having trouble booting recovery programs rocco General 5 12-22-2005 01:04 PM


All times are GMT -5. The time now is 02:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration