LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-24-2006, 02:21 AM   #1
tritonapc
LQ Newbie
 
Registered: Sep 2004
Posts: 18

Rep: Reputation: 0
Can someone help setup my RAID card in linux?


I have recently bought a pci raid card specifically for use in my linux partition. The way I have my computer setup now is 5 drives.

One 160G for windows
One 80G for the linux root
One 200G for mounting in linux
Two 160G in a raid for mounting in linux

This links the card I have:

http://www.compusa.com/products/prod...A_100_PCI_Card

Unfortunately I expected Fedora to detect the raid and be happy. All it has done is slow the startup process as fstab screws up mounting the drives.

I have had to unplug the 200G so this is what

fstab -l prints:
Code:
[root@Eniacjr manuel]# /sbin/fdisk -l

Disk /dev/hdg: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdg1   *           1       16708   134206978+   7  HPFS/NTFS

Disk /dev/hdh: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdh1   *           1         203      102280+  83  Linux
/dev/hdh2             204      153614    77319144   83  Linux
/dev/hdh3          153615      155061      729288   82  Linux swap
[root@Eniacjr manuel]#
This is what

ls /dev/hd* looks like:

Code:
[root@Eniacjr manuel]# ls /dev/hd*
/dev/hda  /dev/hdg   /dev/hdh   /dev/hdh2
/dev/hdf  /dev/hdg1  /dev/hdh1  /dev/hdh3
[root@Eniacjr manuel]#
This is my fstab file looks like:

Code:
[root@Eniacjr manuel]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/hdb3               swap                    swap    defaults        0 0
/dev/hda1               /hda                    ext3    defaults        0 0
/dev/hdc5               /hdc                    ext3    defaults        0 0
/dev/hdf                /media/cdrecorder       auto    pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
[root@Eniacjr manuel]#
 
Old 06-24-2006, 05:07 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I'm having a problem following your question. Your hard drives should get broken down like this:

/dev/hda = Onboard IDE Primary Master
/dev/hdb = Onboard IDE Primary Slave
/dev/hdc = Onboard IDE Secondary Master
/dev/hdd = Onboard IDE Secondary Slave
/dev/hde = Raid Card IDE Primary Master
/dev/hdf = Raid Card IDE Primary Slave
/dev/hdg = Raid Card IDE Secondary Master
/dev/hdh = Raid Card IDE Secondary Slave
 
Old 06-24-2006, 08:57 AM   #3
tritonapc
LQ Newbie
 
Registered: Sep 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Yes, I have no idea why my drives are like that. The boot process is also incredibly slow as linux tries to figure out exactly what it needs to do to adjust for the new drives. It fails miserably however and that is the outcome.

But... if that's not what you meant perhaps this will provide more insight.

/dev/hda = (onboard?) primary slave, it has no logical partitions
/dev/hdg1 = onboard primary master (windows)
/dev/hdh1 = onboard primary slave (fedora boot)
/dev/hdh2 = fedora
/dev/hdh3 = swap
/dev/hdf = my DVD/CD Burner/Player
This is what happens when I mount each one.

Code:
[root@Eniacjr manuel]# mount /dev/hda /hda
/dev/hda: Input/output error
mount: /dev/hda: can't read superblock
[root@Eniacjr manuel]# mount /dev/hdg1 /hda
mount: fs type ntfs not supported by kernel
[root@Eniacjr manuel]# mount /dev/hdh1 /hda
(it works for all hdh 1-3)
[root@Eniacjr manuel]# mount /dev/hdf /hda
mount: block device /dev/hdf is write-protected, mounting read-only
 
Old 06-24-2006, 09:42 PM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
can you post the LSPCI output and verify that the kernel module is loaded for your raid card?
 
  


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
Hardware RAID 1 card on x86 for Linux penguinlnx Linux - Hardware 2 03-16-2005 05:13 AM
linux raid setup Zulu2 Linux - Newbie 1 12-19-2004 06:44 AM
LSI UATA 133 Mega RAID Controller Card under linux? niverson Linux - Hardware 6 06-23-2004 12:12 AM
HPT370 Raid Card - Redhat Linux 8 walt.lx Linux - Hardware 3 11-22-2003 06:55 AM
Can't install Linux on my ASUS P4PE raid setup boegvald Linux - Hardware 18 10-27-2003 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:07 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