View previous topic :: View next topic |
Author |
Message |
shadov n00b
Joined: 24 Feb 2003 Posts: 9 Location: Finland
|
Posted: Fri Jul 04, 2003 1:50 pm Post subject: RAID: udma? hdparm? |
|
|
Hi!
I'm trying to set up RAID 0 array with two 60G Maxtor DiamondMax Plus 9 discs. I plugged them in, set up the controller and booted to Gentoo, did partitioning:
# cfdisk /dev/ataraid/disc0/disc
and created filesystems on those new partitions. OK now I can mount them, but dma is not enabled so they are awfully slow. Also there is no new /dev/hdx# entries. All I have found is
Code: |
# ls -l /dev/ataraid/disc0/
total 0
brw------- 1 root root 114, 0 1970-01-01 02:00 disc
brw------- 1 root root 114, 1 1970-01-01 02:00 part1
brw------- 1 root root 114, 5 1970-01-01 02:00 part5
...
brw------- 1 root root 114, 9 1970-01-01 02:00 part9
# hdparm -i /dev/ataraid/disc0/disc
/dev/ataraid/disc0/disc not supported by hdparm
|
Is it possible to just make symlinks from /dev/hdx# to /dev/ataraid/disc0/part# ? Will it help anything. How do I enable dma
mobo: MSI KT3 Ultra-ARU (VIA KT333), Promise PDC20276 RAID controller
Kernel configuration:
Code: |
IDE, ATA and ATAPI Block devices
<*> Support for IDE Raid controllers (EXPERIMENTAL)
<*> Support Promise software RAID (Fasttrak(tm)) (EXPERIMENTAL)
< > Highpoint 370 software RAID (EXPERIMENTAL)
|
Thanks!
EDIT: fixed topic
Last edited by shadov on Fri Jul 04, 2003 5:16 pm; edited 1 time in total |
|
Back to top |
|
|
Crg Guru
Joined: 29 May 2002 Posts: 345 Location: London
|
Posted: Fri Jul 04, 2003 4:42 pm Post subject: Re: Hardware RAID: udma? hdparm? |
|
|
shadov wrote: |
I'm trying to set up RAID 0 array with two 60G Maxtor DiamondMax Plus 9 discs. I plugged them in, set up the controller and booted to Gentoo, did partitioning:
|
Unless you are sharing the drives with another OS (ie NT) you're better off using the stable and more developed linux MD (software raid).
Unlike your topic which says "Hardware RAID", the low end promise "RAID" controller is not hardware RAID.
Which is why the kernel configuration says
Code: |
<*> Support Promise [b]software[/b] RAID (Fasttrak(tm)) [b](EXPERIMENTAL) [/b]
|
There is more about this subject on google and these forums.
As for using hdparm shouldn't the ide disks appear under /dev/ide/host?/? (can't check on this myself as I don't have an ide system handy). |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jul 05, 2003 2:49 am Post subject: |
|
|
shadov wrote: | OK now I can mount them, but dma is not enabled so they are awfully slow. |
If you want DMA to work, you need to enable support for your Promise controller chip (PDC20276).
Code: | ATA/IDE/MFM/RLL support --->
IDE, ATA and ATAPI Block devices --->
[*] PCI IDE chipset support
[*] Use PCI DMA by default when available
< > PROMISE PDC202{46|62|65|67} support
<*> PROMISE PDC202{68|69|70|71|75|76|77} support
[ ] Special FastTrak Feature
<*> Support for IDE Raid controllers (EXPERIMENTAL)
<*> Support Promise software RAID (Fasttrak(tm)) (EXPERIMENTAL) |
BTW, if my menuconfig looks different than yours, it's because I am using ac-sources with my Promise Fasttrak TX2000 (PDC20271) |
|
Back to top |
|
|
shadov n00b
Joined: 24 Feb 2003 Posts: 9 Location: Finland
|
Posted: Thu Jul 10, 2003 8:19 pm Post subject: |
|
|
Quote: | the low end promise "RAID" controller is not hardware RAID. |
That kinda solved my problem. I thought that the controller would make linux think there is only one hd. So I was searching for one new entry in /dev and couldn't find it because there was more than one |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Jul 11, 2003 2:02 am Post subject: |
|
|
shadov wrote: | That kinda solved my problem. I thought that the controller would make linux think there is only one hd. |
Yes, RAID controllers (even low-end ones ) make multiple harddrives appear as one drive. Yours will appear as /dev/ataraid/disc0/disc
You might have trouble if you are using gentoo-sources, because some ataraid controllers are not supported by this kernel. |
|
Back to top |
|
|
shadov n00b
Joined: 24 Feb 2003 Posts: 9 Location: Finland
|
Posted: Fri Jul 11, 2003 9:56 am Post subject: |
|
|
Yes, but you can't run hdparm on /dev/ataraid/disc0/disc and I was assuming that it wouldn't see those two discs behind the controller at all. But it does (/dev/hde and /dev/hdg).
BTW. When I run hdparm -Tt /dev/hde , does it go through the controller and measure combined speed of both discs? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
|
Back to top |
|
|
|