LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Can someone help setup my RAID card in linux? (https://www.linuxquestions.org/questions/fedora-35/can-someone-help-setup-my-raid-card-in-linux-457782/)

tritonapc 06-24-2006 02:21 AM

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]#


musicman_ace 06-24-2006 05:07 AM

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

tritonapc 06-24-2006 08:57 AM

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


musicman_ace 06-24-2006 09:42 PM

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


All times are GMT -5. The time now is 01:55 AM.