Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 7405

Summary: /etc/init.d/checkfs gives errors on raid
Product: Gentoo Linux Reporter: Take Vos <Take.Vos>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aliz, vapier, wilbertnl
Priority: High    
Version: 1.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 5310    
Bug Blocks:    
Attachments: patch for checkfs and halt.sh

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