-   Red Hat (
-   -   fsck.ext3 help (

Kamenko 10-03-2006 06:58 PM

fsck.ext3 help
After updating and restarting server I'm getting error message during boot-up after "Checking root filesystem" message that options -a -y are wrong and that I should use only one

/sbin/fsck.ext3 -a -y /dev/md0

and then I'm dumped into repair console.
I checked and nothing is wrong with my md0 but options that my old fsck during boot was using are not valid any more. I should probably use just -p instead of -a -y but I don't know where to change it.
Please help

stress_junkie 10-04-2006 02:51 PM

This is the kind of thing that is very dependent on your distribution. I can say that my OpenSuSE v10.1 has a file named /etc/init.d/boot.rootfsck which is where the system startup checks the root partition. That file has a variable called ROOTFS_FSCK. This holds a command that has been created somewhere else. I don't know where it is created. That would almost certainly be where the -y and -a are put into the command.

That doesn't really answer your question but it is a place to start looking.

All times are GMT -5. The time now is 04:15 AM.