LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Server lost power, now wont boot properly. (https://www.linuxquestions.org/questions/linux-newbie-8/server-lost-power-now-wont-boot-properly-553854/)

kingaaron 05-14-2007 03:26 PM

Server lost power, now wont boot properly.
 
Hello everyone,

I'm new to Linux and have already ran into my first problem.

My server Suse 9.2 lost power and upon bringing it up I get the following message:

==================================================================================
SCSI0 (0:0): Rejecting I/O to offline device
Reiser FS: SDA3: Warning: VS=13070: reiserfs-read-
locked-inode: I/O failure occured trying to find stat data of [6 64993 0x0sd]

INIT: No more processes left in this run level.
==================================================================================

I'm not sure how to troubleshoot because it stays at this screen and I can't get the server to fully boot and load.

Any suggestions or hint's appreciated.

Kind Regards,

Aaron

jay73 05-14-2007 03:30 PM

Try running a system check on the affected partition(s).

boot in single user mode (=append "single" to your bootline)

then run:

fsck.reiserfs /dev/XXXX

kingaaron 05-14-2007 03:55 PM

It won't boot period.
 
Thanks for the suggestion, but I'm afraid I can't even boot into regular or safemode.

I'm not familiar with how to add the switch you describe. Can you help me understand?

Thank you,

Aaron

stealth_banana 05-14-2007 04:18 PM

Try booting with a live distro to see what files can be rescued.

My current favourite is the sysrescuecd

http://www.sysresccd.org/

And invest in a UPS.

I does sound like a HD corruption, hopefully I am wrong and a simple fsck can fix it. If you do have to reinstall, try and use separate partitions for the main root folders, means you loose a lot less if it happens again.

jay73 05-14-2007 04:19 PM

Well, I assume you're using GRUB?

If so, select the Suse bootline and press E, then select the kernel line and press E again. Append single to the line that now appears on screen, after which you confirm by pressing Enter. Then you boot into single user mode by pressing B.

Do not mount anything at this stage; just run the fsck on any partition that may have been affected. It will scan your filesystems and try to repair them. This method can be a real saver but is not failsafe, though.

kingaaron 05-14-2007 04:34 PM

Thank you both, I'll try to run the fsck and let you know what happens.

kingaaron 05-14-2007 05:27 PM

Well I don't know what GRUB is and I couldn't select bootline.

I did download the CD, booted, and entered fsck. Nothing happens.

Electro 05-14-2007 05:45 PM

GRUB is a user space boot loader that does not need to be installed to the master boot record every time the config file is changed. Also the user can change the names of the devices. GRUB includes a shell, so you could access files from hard drive(s) and fix how GRUB boots the OS.

You have to run fsck on the desire partition. ReiserFS is not stable enough for server and for desktop use. I recommend either EXT3, XFS, or JFS, but never, never ReiserFS. ReiserFS has a higher degree of failure than other filesystems.

runlevel 1 is not safe mode. There is no safe mode in Linux. runlevel 1 is just another runlevel, but no programs are loaded.

I suggest go to http://www.linuxquestions.org/linux/..._Recovery_Tips. Use a Linux LIVE CD or DVD to use the fsck utilities.

Good luck.


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