Operating System - Linux
1823943 Members
3501 Online
109667 Solutions
New Discussion юеВ

URGENT : Server Crash how should i run "fsck"

 
Amit Dixit_2
Regular Advisor

URGENT : Server Crash how should i run "fsck"

HI,
my server got rebooted and it is asking me to run "fsck" what option should i run with i am using redhat linux 5.2 (Apollo).

Amit
5 REPLIES 5
Huc_1
Honored Contributor

Re: URGENT : Server Crash how should i run "fsck"

Normaly, after crash on reboot it will ask you if you want to run fsck, so Your option are Yes/no this will normaly try to repair and continue ... did it fail and is it giving error ?

Is it at boot time and is it you root/boot disk or is it an application disk ?

please tell us more

J-P
Smile I will feel the difference
Sergejs Svitnevs
Honored Contributor

Re: URGENT : Server Crash how should i run "fsck"

You should be given a root login for maintenenace, from there run :

# fsck /dev/hd
# exit

, where XY is a number of your root partition.

Regards,
Sergejs
Amit Dixit_2
Regular Advisor

Re: URGENT : Server Crash how should i run "fsck"

HI,
I was giving the following command
#fsck -s
And then it use to display
Parallelizing fsck version 1.12 (1Jul-98)

Then I gave
#fsck -f /dev/hda1
It ran sucessfully and said (2% non-contigous data).

now after that i rebooted the system after completion of fsck

it has sucessfuly rebooted.

PLEASE EVERYONE ON THIS FORUM HELP ME TO CLONE THIS FORUM PLEASE PLEASE PLEASE...
Amit Dixit_2
Regular Advisor

Re: URGENT : Server Crash how should i run "fsck"

HI,
I was giving the following command
#fsck -s
And then it use to display
Parallelizing fsck version 1.12 (1Jul-98)

Then I gave
#fsck -f /dev/hda1
It ran sucessfully and said (2% non-contigous data).

now after that i rebooted the system after completion of fsck

it has sucessfuly rebooted.

PLEASE EVERYONE ON THIS FORUM HELP ME TO CLONE THIS system FORUM PLEASE PLEASE PLEASE...
Vitaly Karasik_1
Honored Contributor

Re: URGENT : Server Crash how should i run "fsck"

cloning Linux system:

you can use Ghost, for example.

"Google" for info about more tools.

Rgds,
Vitaly