LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-13-2002, 12:15 PM   #1
thread_killer
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Rep: Reputation: 0
Question RAID 1 question


I'm trying to set up software based RAID 1 on a machine. I've followed the HOWTO to a "t", yet when I go to try to mdraid /dev/md0 I get errors and it aborts on me. cat /proc/mdstat doesn't tell me anything new, and syslog says something about "superblock magic" (Like an idiot, I don't have the error in front of me right now). My kernel 2.4.18 and I have the RAIDtools installed, so the only thing I can think of is perhaps the way the drives are jumpered. hda is jumpered for cable detect and is the only device on it's IDE controller. hdc is jumpered for master and shares a controller with hdd which is my cdrom. Should this be different? Does anyone have the secret decoder ring for software based RAID 1?
 
Old 11-15-2002, 03:24 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
So your kenel is built to support RAID1 yeah? Can you access the disk individually? I take it you must be able to do this or you wouldn't be able to create the partitions to make your RAID partitions.

Post details of your partition tables on the relevant disk and your raidtab, and that error message from mkraid.

cheers

Jamie...
 
Old 11-16-2002, 09:18 AM   #3
thread_killer
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply. Actually, I got it and it had nothing to do with the jumpers. I found that I had to boot and load the kernel from the cdrom, do the mkraid /dev/md0 thing, then once everything was synched, reboot as normal and do a raidstart /dev/md0 I also edited lilo.conf to look for md0 as the boot disk and changed hda1 to type fd in fdisk. Works perfectly now! The dang HOWTO didn't quite get into all of that.
 
  


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
RAID Question cootetom Linux - Hardware 2 02-16-2005 11:10 AM
Raid question PaulSpn1 Linux - Hardware 4 08-06-2004 04:25 AM
RAID question gauge73 Linux - Newbie 1 02-24-2004 10:42 AM
RAID 0 question DropHit Linux - Hardware 8 11-09-2003 05:39 PM
Raid 1 question SchoolITguy Linux - Hardware 5 04-10-2003 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:24 PM.

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