LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Mount SATA RAID drives in debian? (https://www.linuxquestions.org/questions/debian-26/mount-sata-raid-drives-in-debian-179320/)

EcceVery 05-08-2004 12:44 PM

Mount SATA RAID drives in debian?
 
I have two 160 GB Maxtor SATA-disks attached to a Silicon Image 3112A controller. I'm running the 2.6.5 kernel and have aded support for Silicon Image chip and RAID functionality. When runnig fdisk I can see a /dev/hde device, eaven though fdisk seems to read the partition table wrong.

However, when I try to mount the partitions (FAT32 fs) I get an error msg saying "wrong fs type, bad option, bad superblock on /dev/hde1, or too many mounted filesystems". I used the following command:

mount -t vfat /dev/hde1 /mnt/sata1

help me...

beamish72 05-08-2004 11:57 PM

try mount -t auto /dev/hde1 /mnt/sata1, instead of vfat.

EcceVery 05-09-2004 04:51 AM

nope, got this msg:

"you must specify the filesystem type"

Borje 05-09-2004 05:44 AM

You may want to try another partition. I also use a SATA drive with ntfs on and my C:\ drive is on hde6... Try loading hde2 and if that doesn't work, try hde3 and so on....

hw-tph 05-09-2004 06:52 AM

Are the drives set up as RAID? If so you need to access the actual RAID devices and not the partitions themselves (i.e. /dev/md? or something to that effect).


Håkan

EcceVery 05-09-2004 08:15 AM

hde is the only device I can see using fdisk. The disks are stiped (RAID-0) and therefore visible as one HDD drive (I guess).

This is how it really is:

Partition 1: FAT32, ~10 GB, Windows XP installation, bootable
Partition 2: FAT32, 289 GB, various stuff
Partition 3: FAT32, ~10 GB, various stuff


Fdisk reads the following:

Partition 1: FAT32, ~10 GB, bootable, /dev/hde1
Partition 2: FAT32, ~10 GB, /dev/hde2 (note the order has changed)
Partition 3: Unknown, no size, end block BEFORE the start block.


Håkan; can you tell me more about accessing RAID devices?

hw-tph 05-09-2004 09:55 AM

You may want to read up on the subject. The Sil3112(a)/3114 is like most onboard UATA/SATA controllers not a "real" RAID device. You may want to look into Thomas Horsten's Medley driver and read this excellent document.


Håkan

EcceVery 05-12-2004 03:34 PM

The struggle goes on. I did something to the 2.6.6 kernel config (messed up graphics), so now I run 2.4.26. A happy surprise was that the drivers I need was included in this kernel for the first time. However, when I add support for the Silicon Image 3112 controller, the SATA drives shows up as hda and hdc (even though they are RAID-0, I thought is would be /dev/md0 or something). The normal hda drive (attached to the old primary IDE controller) is gone, and so the kernel is unable to mount root.

I can't find any info about this problem, but it's late and I've studied for 13 hours today so my mind is not the sharpest one in sweden right now...

EcceVery 05-12-2004 04:24 PM

Final post before bed:

compiled the Silicon Image drive as module instead of static, and so I got a correct mount of the root fs. But "insmod siimage.o" make the SATA disks cause problems with the hda IDE disk still. I get som output telling me that the two SATA disks are identified as /dev/hda and /dev/hdc, and then the fun begins.

The msg "hda irq interrupt" keeps coming up on the screen, and any type of access to any harddrive is impossible. I can use the keyboard, but all I really can to is pull the plug to reboot.


All times are GMT -5. The time now is 10:16 AM.