LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-11-2008, 09:18 PM   #1
DarkpawT
Member
 
Registered: Mar 2008
Distribution: Fedora (home) - Ubuntu (work)
Posts: 33

Rep: Reputation: 15
RAID in FC9 with VIA VT8237 SATA controller


Hi, all. Hopefully this is an easy one for the SATA guys, as I'm fairly new to this. I had a system running fine in FC9 on a single SATA disk. I added a second disk (exactly the same drive) and setup the BIOS utility for RAID1.

My windows partition booted fine, and I was able to download the RAID software from VIA to enable RAID1 in WinXP without any real issues.

In Fedora, I am seeing what I saw in XP before the driver picked it up. I get two of the same setup on the disks, but it's not in RAID. It's like two single disks running. Here's the "fdisk -l" output:

[root@localhost ~]# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0cea0cea

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/sda2 1913 30400 228829860 f W95 Ext'd (LBA)
/dev/sda5 1913 10198 66557263+ 7 HPFS/NTFS
/dev/sda6 10199 10230 257008+ 83 Linux
/dev/sda7 10231 10491 2096451 82 Linux swap / Solaris
/dev/sda8 10492 30400 159919011 83 Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb219d6da

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1912 15358108+ 7 HPFS/NTFS
/dev/sdb2 1913 30400 228829860 f W95 Ext'd (LBA)
/dev/sdb5 1913 10198 66557263+ 7 HPFS/NTFS
/dev/sdb6 10199 10230 257008+ 83 Linux
/dev/sdb7 10231 10491 2096451 82 Linux swap / Solaris
/dev/sdb8 10492 30400 159919011 83 Linux

Disk /dev/dm-0: 163.7 GB, 163756538880 bytes
255 heads, 63 sectors/track, 19908 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table
[root@localhost ~]# cat /etc/fedora-release
Fedora release 9 (Sulphur)
[root@localhost ~]#




Do I need a kernel module enabled in order to get this working in RAID1? Or is it just a matter of doing something in mdadm....though I thought that was only for software-based RAID?

Any info would be appreciated.

-DP
 
Old 08-12-2008, 12:30 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Part of the problem is that 99% of motherboard raid is Fake raid rather than Hardware raid. In most (not all) instance you will be better off using soft raid rather than fake raid. The other problem is that in a lot of instances you cannot access fake raid setups from another OS due to slight fake raid driver differences (ie windows will not be able to see Linux and Linux will not be able to see windows). True hardware raid works before the OS loads, so it does not suffer from this issue.
 
Old 08-13-2008, 07:39 PM   #3
DarkpawT
Member
 
Registered: Mar 2008
Distribution: Fedora (home) - Ubuntu (work)
Posts: 33

Original Poster
Rep: Reputation: 15
Raid

Thanks for the reply, but it doesn't really help my issue. Is there a driver available for this chipset to enable the (even fake) hardware RAID for this, for Fedora Core 9?
 
Old 08-14-2008, 05:29 PM   #4
wandering_nightcat
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
Linux on fakeraid is a very interesting and challenge topic. Like lazlow said, software raid is better solution.
Since you insist on using fakeraid, the first place you can find the driver is manufacturer's website, http://linux.via.com.tw/support/downloadFiles.action and viaarena's website. I don't know your motherboard model, but most manufacturers don't provide fakeraid driver for linux; if they do, only RHEL and SUSE Enterprise.
Good luck.
 
Old 08-14-2008, 05:59 PM   #5
DarkpawT
Member
 
Registered: Mar 2008
Distribution: Fedora (home) - Ubuntu (work)
Posts: 33

Original Poster
Rep: Reputation: 15
site

Thanks for the URL, but it looks like the newest this goes is FC8, and I'm running FC9. I guess I will need to wait for the driver to be made for this, as they appear to not have the source code for the SATA controller available (only the Ethernet, sound, and video).

BTW, my board is an Asrock 4CoreDX90-VSTA. Asrock doesn't have a driver for linux available.
 
Old 08-14-2008, 06:32 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You are going to run into a never ending circle this way. Support for any one version of Fedora is for only about one year. It generally takes them about six months (if you are lucky) for the manufactures to release a version for a new OS. Shortly after F10 is released they may release a driver for F9.
 
  


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
Random crashes with VIA VT8237 SATA Controller on ASUS K8V-MX mobo blacksheep42 Linux - Hardware 3 10-24-2006 12:34 PM
Installing Slackware 10.2 on Raid 0 with Via VT8237 Controller kfaday Slackware - Installation 2 08-26-2006 11:28 AM
Installing Slackware 10.1 on SATA Hardware(?) Raid 0, VIA VT8237 ftgow Slackware - Installation 7 09-16-2005 05:38 AM
Via Vt8237 Sata Raid With Suse 9.2 zenarcher Linux - Hardware 1 04-17-2005 11:30 PM
Rhel 3 Ws & Via Vt8237 Sata Raid prion Linux - Hardware 4 10-27-2004 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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