LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-24-2004, 08:58 PM   #1
rrohde
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Rep: Reputation: 0
RAID 1 ... everyime I reboot, /dev/md0 is broken...


Hello all

Just got done adding a 2nd harddisk to my server that already has a huge chunk of date on the first disk.

The idea is to turn the two disks into a RADI 1 array.

I started out by editing my /etc/raidtab file to configure a simple RAID1 device called /dev/md0, mad up from /dev/hda and /dev/hdb.

Next I ran mkraid /dev/md0 and that process took about an hour to finish.

Then I checked with cat /proc/mdstat that my /dev/md0 was working, and it was.

I also checked with fdisk -l /dev/hda and fdisk -l /dev/hdb that both devices apeared to have the same partition scheme, and they did.

So, I assumed that my /dev/md0 is ready to use, but as soon as I rebooted the server, the RAID array didin't initialize and I saw a message during bootup, that somethin regarding RAID was skipped.

Needless to say, as soon as the machine came up again, I ran cat /proc/mdstat only to see that there was no /dev/md0.

My my question is: what must I do to have a RAID 1 array that will be available even after reboot?
What am I missing?
 
Old 10-26-2004, 03:03 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Try following the steps in this howto:

http://www.tldp.org/HOWTO/Software-R...O-5.html#ss5.1
 
  


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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 04:35 PM
Crash while resyncing /dev/md0 HelaWann Linux - Enterprise 1 12-06-2005 09:52 AM
can not mount RAID 0 /dev/md0 dysenteryduke Linux - Software 3 09-15-2005 04:19 PM
Raid Weirdness -- /dev/md0: Invalid argument spiritwing Linux - Software 3 04-02-2004 10:52 PM
Raid Weirdness -- /dev/md0: Invalid argument spiritwing Linux - Hardware 0 04-02-2004 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:52 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
Open Source Consulting | Domain Registration