LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-15-2008, 04:00 PM   #1
lopgok
LQ Newbie
 
Registered: May 2008
Distribution: mandriva, red hat, knoppix
Posts: 2

Rep: Reputation: 0
Upon reboot, /dev/md0 not found - mandriva 2008 spring


I have built many linux software raid arrays successfully.

I did a fresh install of mandriva 2008 spring (because I needed a new kernel for my sata controller and was tired of compiling kernels) and I have been having boot problems ever since.

I have 6 sata drives I am using in a raid-5 array. This array is *not* used for booting the os.

I create the array via:
mdadm --create /dev/md0 --verbose --chunk=32 --level=5 --devices=6 /dev/sd[abcdef]

I wait until it is ready (a few hours)

I create a filesystem via:
mkreiserfs /dev/md0

I make a directory /data

I make a /etc/fstab entry:
/dev/md0 /data reiserfs notail,relatime,user_xattr 1 3

I mount it:
mount -a

I make a /etc/mdadm.conf file:
cat DEVICE /dev/sda,/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde,/dev/sdf > /etc/mdadm.conf
mdadm --detail --scan --verbose >> /etc/mdadm.conf

Everything is great. I can copy files to my raid array.

When I reboot however, I get a boot message that /dev/md0 can't be found, and I get a root prompt. I then
comment out the /dev/md0 line in /etc/fstab, and reboot.

After I boot, I run mdadm --assemble /dev/md0 /dev/sd[abcdef]
and I re-edit /etc/fstab removing the comment.
I then do a mount -a, and I have my raid array back online.

Why doesn't it get started up at boot time?
I haven't screwed with any setting related to booting.

thanks in advance,
lopgok
 
Old 06-08-2008, 10:35 AM   #2
lopgok
LQ Newbie
 
Registered: May 2008
Distribution: mandriva, red hat, knoppix
Posts: 2

Original Poster
Rep: Reputation: 0
https://qa.mandriva.com/show_bug.cgi?id=40023

This is a work around. It is a OS bug, not confusion on my part.
 
  


Reply


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
Mandriva 2008 spring ronlau9 Mandriva 7 05-07-2008 11:33 PM
ubuntu7.10 or mandriva 2008 spring amalbenson Linux - Newbie 4 04-29-2008 08:23 PM
K3b not in Mandriva Spring 2008? moxieman99 Mandriva 6 04-28-2008 10:01 AM
LXer: The Perfect Server - Mandriva 2008 Spring Free (Mandriva 2008.1) LXer Syndicated Linux News 0 04-10-2008 05:10 PM
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 05:53 AM


All times are GMT -5. The time now is 02:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration