I'm currently in the process of setting up a Linux server and creating a login app for a company. The server is still at my house and we had a power cut the other day and I noticed the server was stuck on a prompt for a root password so it could do an fsck check on the HDD. This isn't going to be a good thing because the server will be 100 miles away from me and not in the company of any IT people. I was hoping I could disable automatic fsck checks in the event of the server not being powered down properly.
Would anybody here know how to do this?
Regards,
Last edited by impulse() on Mon Apr 30, 2007 10:57 am, edited 1 time in total.
I started reading Wiki about journaling filesystems but I'm not sure this would be the easiest and quickest way to achieve what I want. I've read that altering /etc/fstab and modifying the last digit on the end of the line from '1' to '0' disable force FSCK checking.
It's not a good thing to disable the File System Check. If a partition has problems and they aren't fixed you could end up losing critical data from a database, like clients, orders or even the entire site over time. Leaving it off is like playing Russian Roulette.
Just out of curiosity: What filesystem do you use? (and why? )
I'm asking because I though common linux distributions use journaling fs by default. And I haven't seen the single user mode fsck ever since.
I think I was mistaken about journaling filesystems. I read a few sentences from the Wiki and assumed it would mean I would have to change file systems.