Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Starting up RAID devices ... [!!]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eponymous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 136

PostPosted: Sat Feb 05, 2011 11:55 pm    Post subject: Starting up RAID devices ... [!!] Reply with quote

Ok,

So recently I've noticed that when I boot up my Gentoo box I get:

Quote:
Starting up RAID devices ... [!!]


I have three 1TB disks all set to "Linux RAID autodetect" with fdisk and I've created a perfectly fine /dev/md0 node for the three disks. The array is RAID-0 and houses and ext4 filesystem and seems to mount fine.

I can't fine any error messages related to RAID but then again I'm not sure what I should be looking for in /var/log/messages :S.

Any ideas?
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 703
Location: The Village

PostPosted: Sun Feb 06, 2011 7:37 am    Post subject: Reply with quote

Sounds like an init script is trying to assemble an array that was already assembled by the kernel.

I would probably add raid=noautodetect to the kernel line in grub.conf and let the init script hande it.

dmesg might show you more than what you will find in /var/log/messages.
Back to top
View user's profile Send private message
eponymous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 136

PostPosted: Sun Feb 06, 2011 11:28 am    Post subject: Reply with quote

Ok so it looks like a bug has been raised against this:

http://bugs.gentoo.org/295397

The script in question is: /lib/rcscripts/addons/raid-start.sh :

Code:
.....
.....
if [ -x /sbin/mdadm ] ; then
                ebegin "Starting up RAID devices"
                create_devs ${devs}
                output=$(mdadm -As 2>&1)
                ret=$?
                [ ${ret} -ne 0 ] && echo "${output}"
                eend ${ret}
fi

.....
.....


There is no message printed after the "Starting up RAID devices ..." message at boot but there is a blank line. Doing a mdadm -As manually on my system returns nothing - no error, it just returns. So it looks like a problem with the return value.

I do not need the RAID partitions to be autodetected or anything like that since it has all been done manually and an /etc/mdadm.conf exists.

I also have mdadm added to my boot run level so I'm not sure why this script above even exists :S

Needless to say grep of "RAID" in /var/log yields nothing.


This script seems redundant for my uses - any way to remove it from the boot sequence?
Back to top
View user's profile Send private message
eponymous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 136

PostPosted: Sun Feb 06, 2011 5:13 pm    Post subject: Reply with quote

raid=noautodetect

added to the kernel line of grub.conf didn't work by the way.
Back to top
View user's profile Send private message
eponymous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 136

PostPosted: Fri Feb 11, 2011 7:52 pm    Post subject: Reply with quote

Any other ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum