Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RAID: udma? hdparm?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shadov
n00b
n00b


Joined: 24 Feb 2003
Posts: 9
Location: Finland

PostPosted: Fri Jul 04, 2003 1:50 pm    Post subject: RAID: udma? hdparm? Reply with quote

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
View user's profile Send private message
Crg
Guru
Guru


Joined: 29 May 2002
Posts: 345
Location: London

PostPosted: Fri Jul 04, 2003 4:42 pm    Post subject: Re: Hardware RAID: udma? hdparm? Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Jul 05, 2003 2:49 am    Post subject: Reply with quote

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
View user's profile Send private message
shadov
n00b
n00b


Joined: 24 Feb 2003
Posts: 9
Location: Finland

PostPosted: Thu Jul 10, 2003 8:19 pm    Post subject: Reply with quote

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 :oops:
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Jul 11, 2003 2:02 am    Post subject: Reply with quote

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 :wink: ) 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
View user's profile Send private message
shadov
n00b
n00b


Joined: 24 Feb 2003
Posts: 9
Location: Finland

PostPosted: Fri Jul 11, 2003 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Jul 12, 2003 2:27 am    Post subject: Reply with quote

Using hdparm on /dev/hde only checks the single drive - not the array.
Look at this thread for array benchmarking :
https://forums.gentoo.org/viewtopic.php?t=47341
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum