LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-26-2008, 01:49 PM   #1
marco.hahn
LQ Newbie
 
Registered: Jan 2007
Distribution: Gentoo 2006.1, Ubuntu 10.4
Posts: 20

Rep: Reputation: 0
RAID 1 on openSuSE 10.3 yields "empty" /proc/mdstat


Hi, I'm trying to set up a RAID 1 array on a openSuSE 10.3 system. Effectively, the array works if I manually start it with

Code:
# mdadm -Ac partitions /dev/md0 -m dev
mdadm: /dev/md0 has been started with 1 drive (out of 2).
However, during startup it doesn't do this automatically, and all I get is an "empty" /proc/mdstat:

Code:
# cat /proc/mdstat
Personalities : [raid1]
unused devices: <none>
The only dmesg message concerning RAID I get is:

Code:
md: raid1 personality registered for level 1
What's wrong with the boot sequence?

Regards,
Marco
 
Old 02-26-2008, 11:36 PM   #2
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon
Posts: 276

Rep: Reputation: Disabled
Have you looked at the man page for mdadm?? It's well documented. In your example, mdadm is giving you what you want to see, not what it did, which is nothing other than assemble an empty array. It stopped after -A, which is assemble. The rest is unrecognizable. You might want to try using Yast until you get the hang of it.
 
Old 02-28-2008, 09:42 PM   #3
marco.hahn
LQ Newbie
 
Registered: Jan 2007
Distribution: Gentoo 2006.1, Ubuntu 10.4
Posts: 20

Original Poster
Rep: Reputation: 0
leandean, you're right. mdadm documentation is very extensive. In fact, my setup seems completely OK, except for the fact that it is not automatically started at boot time. manpage says:

Code:
        mdadm --assemble --scan
       This will assemble and start all arrays listed in the  standard  config
       file file.  This command will typically go in a system startup file.
Which is exactly my problem. If I issue mdadm --assemble --scan, all is fine. But why is openSUSE not adding it to my system startup file (which would be the one in this distro?)

Regards,
Marco
 
Old 03-13-2008, 11:34 PM   #4
marco.hahn
LQ Newbie
 
Registered: Jan 2007
Distribution: Gentoo 2006.1, Ubuntu 10.4
Posts: 20

Original Poster
Rep: Reputation: 0
The solution ...

The only thing that was missing, was to use YaST's runrevel editor to start the boot.md script at boot time. Now /proc/mdstat is OK after startup.

Regards,
Marco
 
  


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
what is "FRAG" in "/proc/net/sockstat" ? dileepkk Linux - Networking 1 06-21-2011 11:16 AM
DHCP yields "phantom connection" (ipw2200 meets Alice-dsl in Germany) simen Linux - Wireless Networking 3 03-07-2007 11:19 PM
event 7 displayed in /proc/mdstat craigusb Linux - Software 0 07-05-2006 03:06 AM
Gentoo VNC, empty dialog box !! "Question" window is empty ! TheHushedCaskeT Linux - Software 0 02-01-2005 10:14 PM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 05:44 AM


All times are GMT -5. The time now is 07:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration