LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2004, 01:50 AM   #1
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Rep: Reputation: 15
mkraid output "[uEUEMMno MD device file in /dev"


What is this mess? Yes the characters are exactly as shown in the subject.

I have 2 160 Gig HD's /dev/hde and /dev/hdg I want to raid 0.

here is my /etc/raidtab

[root@bruce /dev]ssh:# more /etc/raidtab
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
persistent-superblock 1
chunk-size 4
device /dev/hde1
raid-disk 0
device /dev/hdg1
raid-disk 1

I try this:
mknod /dev/md0 b 9 0
and get:
mknod: `/dev/md0': File exists

what am i missing?
 
Old 03-21-2004, 08:57 AM   #2
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
In your raidtab you refer to /dev/hde1 and /dev/hdg1. Do these partitions exist? If not, you have to create them with cfdisk (or fdisk).

As an alternative to mkraid, you might consider mdadm. Running Linux 2.6.3, I used mdadm to make a raid1 root filesystem. Worked fine. I haven't used mkraid.
 
Old 03-21-2004, 11:19 AM   #3
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Original Poster
Rep: Reputation: 15
Hi,

Yes both partitions are ext3 and were used separately for a while. Now I want to combine them.

I will try mdadm, but I am thinking I have a fundamental problem with my raid set-up.
 
Old 03-21-2004, 12:05 PM   #4
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Original Poster
Rep: Reputation: 15
Ok..I got it using mdadm. Thanks for the help.
 
Old 03-21-2004, 02:27 PM   #5
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Original Poster
Rep: Reputation: 15
ok...mdadm worked, but when i re-boot the raid device /dev/md0 is nowhere to be found and the bootup process fails because i try to mount it in my fstab and it is not there. How do i get linux/mdadm to save raid info?

Thanks

Last edited by bruce1271; 03-21-2004 at 03:07 PM.
 
Old 03-21-2004, 05:51 PM   #6
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
Quote:
Originally posted by bruce1271
ok...mdadm worked, but when i re-boot the raid device /dev/md0 is nowhere to be found and the bootup process fails because i try to mount it in my fstab and it is not there. How do i get linux/mdadm to save raid info?
Make an /etc/mdadm.conf file and call "mdadm --assemble --scan" in the bootup sequence. There's an example showing how to setup the /etc/mdadm.conf file in the examples section of the mdadm man page. If your root partition is on a raid array, you also have to pass info about that on the boot line.
 
Old 03-21-2004, 10:25 PM   #7
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Original Poster
Rep: Reputation: 15
Thanks,

I got it working by setting the fdisk type to "fd" that did it.

I am getting 76mb/s with hdparm -t. Is this good? I am using reiserfs I thought it would be higher. standalone one drive got 59 and the other 40.
 
  


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
xine "Audio output unavailable. Device is busy." shellshock Linux - Software 3 05-13-2006 01:19 PM
Interpreting "sar -n DEV" output rfrancis Red Hat 0 01-07-2005 12:42 PM
"unable to find device node for /dev/x in /dev!" during install zombiedeth *BSD 0 02-02-2004 03:38 AM
cupsd, many "modprobe: can't locate device /dev/usb.." at boot bit7 Linux - Software 1 01-16-2004 09:42 PM
another "device /dev/dsp can't be opened (device does not exist)" in DEBIAN, woody Kroppus Linux - Hardware 12 11-13-2003 01:23 PM


All times are GMT -5. The time now is 04:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration