Kernal crash in Oracle Linux


One Kernal crash in Oracle enterprise Linux
By W.ZH, Mar 31 2009

Issue:

Because of a power failer, there is a kernal crash for my Oracle enterprise linux., the system will force boot up in the readonly mode. can not do anything…..

in fact bootup prompt gives a lot error and that

/dev/VolGroup00/LogVol00 need do the manual fsck.

Solve;:

if system auto bootup to the repair model, then can just directly run

e2fsck -y /dev/VolGroup00/LogVol00

After that , system can run..(but with some startX script and files lost.) Not perfect, but runs.

if not boot up in single mode, then you may need to do sth like this:

(a) Take down system to single user mode and unmout system

Following are steps :

=> Use init (process control initialization ) command to change runlevel 1 (singe user mode)

=> Use umount command to unmount /home file system

=> Run fsck using fsck command

Let us say you would like to run fsck on /home (/dev/sda3):

# init 1

# umount /home

# umount /dev/sda

# fsck /homeOR

# fsck /dev/sda3OR

# e2fsck -y /dev/sda3

ATTN:

The -F option force fsck on reboot, login as root and type the following command to reboot and run fsck:

# shutdown -rF now

If you have to do manual fsck, in fact this command can not help you too much.

Advertisements