Hi. I have a Server running fedora core 8.
The client is a small office.
The server is used for storage only.
They doesn't work 24hours, for this reason, at the moment they close the office, they put the breakers down. Turn Off the office complete.
The server is always shuts down suddenly.
So, i edited the file: /etc/rc.d/rc.sysinit
and add this line at the begining:
/sbin/fsck -y
I did this, so, everyday when the server start, when boot process, before mount the disk, clean the disk for possibles errors. And it does!.
But sometimes it doesn't work, because sometimes the server says:
so, i need to run manually:
umount /dev/sda1
fsck -y /dev/sda1
reboot
Then the system boot normally.
What I want?
I want this never happen! I want the server always boot without any issue, at least is not a physical problem.
How can i solve this?
The client is a small office.
The server is used for storage only.
They doesn't work 24hours, for this reason, at the moment they close the office, they put the breakers down. Turn Off the office complete.
The server is always shuts down suddenly.
So, i edited the file: /etc/rc.d/rc.sysinit
and add this line at the begining:
/sbin/fsck -y
I did this, so, everyday when the server start, when boot process, before mount the disk, clean the disk for possibles errors. And it does!.
But sometimes it doesn't work, because sometimes the server says:
Code:
*** Warning -- SELinux ${SELINUXTYPE} policy relabel is required. "
*** /etc/selinux/config indicates you want to manually fix labeling"
*** problems. Dropping you to a shell; the system will reboot"
*** when you leave the shell."
...
...
..etc
umount /dev/sda1
fsck -y /dev/sda1
reboot
Then the system boot normally.
What I want?
I want this never happen! I want the server always boot without any issue, at least is not a physical problem.
How can i solve this?