LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2010, 03:18 AM   #1
member123
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
rc.sysinit: /fsckoptions and mdadm


Hi all,

I have a problem after I installed a raid1 system on my CentOS 5.3 system.
I wanted to add the raid configuration after I have added a second hard disk. Everything worked fine and a live system like the trinity rescue kit shows that the raid configuration was made successful.
But when I start up my CentOS system it is not able to boot successfully, because the automatic files system check says, that my devices (/dev/sda and /dev/sdb) are busy.
This is true, because they are integrated in my raid array.
So I checked the rc.sysinit and I saw these lines:

if [ -f /fsckoptions ]; then
fsckoptions=`cat /fsckoptions`
fi

and this one:
rm -f /fastboot /fsckoptions /forcefsck /.autofsck /forcequotacheck /halt /poweroff &> /dev/null

So my question is:
How is the file /fsckoptions written? Where can I find the source for writing this file?

When I add fastboot to grub the system boots without the check, but this is not, what I want.

Thanks for your help!
 
Old 02-09-2010, 04:20 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by member123 View Post
How is the file /fsckoptions written?
How about manually? Like in 'echo "-v -f -b fsckoptions" > /fsckoptions'.


Quote:
Originally Posted by member123 View Post
Where can I find the source for writing this file?
Depends on the fs you run, say 'man fsck.ext3'.

//NTLB
 
  


Reply



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
MDADM screws up the LVM partitions? Can't mount the LVMs after mdadm stopped alirezan1 Linux - Newbie 3 11-18-2008 04:42 PM
unable to load MDADM module BUT mdadm works?!?!?! alirezan1 Linux - Software 2 09-08-2008 07:58 PM
mdadm says "mdadm: /dev/md1 not identified in config file" when booting FC7 raffeD Linux - Server 1 08-11-2008 11:47 AM
Rc.sysinit Very Maqbool Linux - Software 2 07-27-2005 02:29 AM
sysinit rilians Slackware 1 07-01-2004 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 PM.

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