Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 10-03-2006, 05:58 PM   #1
LQ Newbie
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
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
Old 10-04-2006, 01:51 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fsck.ext3 PROBLEM Darcan Linux - Newbie 5 10-12-2004 03:22 AM
fsck and ext3 perry Linux - Hardware 1 05-13-2004 02:04 PM
fsck on ext3 hemanth_13 Linux - General 1 07-24-2003 09:44 AM
fsck in ext3? recurrente Linux - Newbie 3 03-21-2002 05:15 AM
fsck in ext3?? recurrente Linux - Newbie 0 03-18-2002 07:39 AM

All times are GMT -5. The time now is 03:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration