LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-08-2004, 12:44 PM   #1
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Rep: Reputation: 15
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...
 
Old 05-08-2004, 11:57 PM   #2
beamish72
LQ Newbie
 
Registered: May 2004
Location: Fresno, ca
Distribution: redhat, slackware, debian, dyne::bolic
Posts: 2

Rep: Reputation: 0
try mount -t auto /dev/hde1 /mnt/sata1, instead of vfat.
 
Old 05-09-2004, 04:51 AM   #3
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Original Poster
Rep: Reputation: 15
nope, got this msg:

"you must specify the filesystem type"
 
Old 05-09-2004, 05:44 AM   #4
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Rep: Reputation: 15
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....
 
Old 05-09-2004, 06:52 AM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 05-09-2004, 08:15 AM   #6
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Original Poster
Rep: Reputation: 15
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?
 
Old 05-09-2004, 09:55 AM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 05-12-2004, 03:34 PM   #8
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Original Poster
Rep: Reputation: 15
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...

Last edited by EcceVery; 05-12-2004 at 03:37 PM.
 
Old 05-12-2004, 04:24 PM   #9
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



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
FC4 and Win XP dual boot Sata drives and Raid ChaoticPi Linux - Hardware 2 10-19-2005 11:47 PM
RAID-1 SATA Drives with Promise FastTrak 378 sptrashcan Linux - Hardware 1 04-03-2005 02:14 PM
Mount SATA drive (not RAID) EcceVery Debian 3 08-31-2004 05:47 PM
NFTS sata raid drives - won't mount jamangold Linux - Newbie 0 07-25-2004 06:57 PM
cannot mount SATA drives manub Red Hat 0 03-13-2004 09:44 AM

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

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