Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Linux Development & Programming => Topic started by: tomamodi on December 08, 2005, 07:16:32 AM

Title: About fsc2k
Post by: tomamodi on December 08, 2005, 07:16:32 AM
DEAR
I always hit by unclean shutdown

because i am using my squid box without keyboard nad monitor

so is it possible to put the fsc2k on every boot automatic
some where in rc.d/local
that every time after shut down  when box start it jernold the directries

or any other way for coop this problem
thank you
Title: About fsc2k
Post by: Ricky on December 10, 2005, 02:13:24 PM
well.. u can check the hd for errors and can repair using
Code: [Select]
fsck -t ext3 /dev/hda1
but u need to umout the hdd first in order to check it properly.

either u can add following in startup script ...

Code: [Select]

umount /dev/hda1
fsck -t /dev/hda1
mount /dev/hda1


but I am not sure about it works or not but you can try it . btw.. here it will first umount the /dev/hda1 and then check and repair for errors and then again remount it.
Title: About fsc2k
Post by: tomamodi on December 12, 2005, 04:37:37 AM
but i try 20 times the commercial cache -by unclean shut down -it start normal - it never get any error like my own cache
problem is the cache i have is without any monitor or any i/o device l

so need some thing automaticaly cares that unclean shut down
Title: About fsc2k
Post by: Ricky on December 17, 2005, 10:21:02 AM
Quote from: "tommodi"
but i try 20 times the commercial cache -by unclean shut down -it start normal - it never get any error like my own cache

What do exactly mean by the errors you get in your cache ?
Title: About fsc2k
Post by: tomamodi on December 24, 2005, 04:26:48 AM
but i try 20 times the commercial cache -by unclean shut down -it start normal - it never get any error like my own cache

error unclean shut down
and kernel panic
after two three unclean shut down
Title: please give some explanation about this
Post by: tomamodi on December 24, 2005, 04:29:49 AM
RICKY
please give some information about this command what it means

sleep 1
done > /dev/null 2>&1 &
 meaning of this command
thanks