Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7405 - /etc/init.d/checkfs gives errors on raid
Summary: /etc/init.d/checkfs gives errors on raid
Status: RESOLVED DUPLICATE of bug 5310
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 5310
Blocks:
  Show dependency tree
 
Reported: 2002-09-03 03:07 UTC by Take Vos
Modified: 2005-07-17 13:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for checkfs and halt.sh (initraid.patch,1.02 KB, patch)
2002-09-06 16:01 UTC, Wilbert van Bakel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Take Vos 2002-09-03 03:07:31 UTC
On my server /etc/init.d/checkfs gives 'Failed to start software RAID'. 
While I run RAID in the kernel and on my boot device, all raid devices are 
already started. 
 
[root@cordelia]init.d> /sbin/raidstart --all >/dev/null 
/dev/md0: File exists 
/dev/md1: File exists 
/dev/md2: File exists 
/dev/md3: File exists 
[root@cordelia]init.d> echo $? 
4 
 
This error gave me quite a scare. 
 
Thank you.
Comment 1 Wilbert van Bakel 2002-09-06 16:01:10 UTC
Created attachment 3706 [details, diff]
patch for checkfs and halt.sh

There is no reason to fear the error message. But it's more elegant if the init
scripts check if the md is running or not.
Try this patch and see if it makes you happy.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-06 21:54:33 UTC

*** This bug has been marked as a duplicate of 5310 ***
Comment 3 Take Vos 2002-09-07 07:39:09 UTC
It looks like the patch works, I do not get an error message anymore. 
Thank you