Koozali.org: home of the SME Server

Driver for a PCI HPT 370 IDE Raid Card

SouthGuy

Driver for a PCI HPT 370 IDE Raid Card
« on: September 30, 2004, 11:42:25 PM »
Hello

I'd like to use my sme v6 server as a NAS using a High Point 370 PCI card and 2 IDE hard disks in a mirror configuration.

I am not an expert of Linux but it seems to me that the drivers on High Point Web site (http://www.highpoint-tech.com/USA/b370na.htm) are not compiled for a 2.4.20-18.7 kernel such as in our sme v6.

Does anyone succeeded to get such a configuration working ? or is there a HowTo somewhere ?

Thanks very much in advance

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Driver for a PCI HPT 370 IDE Raid Card
« Reply #1 on: October 03, 2004, 02:00:58 AM »
Quote from: "SouthGuy"
Hello

I'd like to use my sme v6 server as a NAS using a High Point 370 PCI card and 2 IDE hard disks in a mirror configuration.

I am not an expert of Linux but it seems to me that the drivers on High Point Web site (http://www.highpoint-tech.com/USA/b370na.htm) are not compiled for a 2.4.20-18.7 kernel such as in our sme v6.

Does anyone succeeded to get such a configuration working ? or is there a HowTo somewhere ?

Thanks very much in advance


I wouldn't bother. Get a straight ATA100 card, and use the built-in RAID capability. The HPT RAID is no better, and is much more trouble to set up.

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Driver for a PCI HPT 370 IDE Raid Card
« Reply #2 on: October 03, 2004, 03:10:27 PM »
...even better ... don't buy any card at all (*_*)

SME/e-smith has built in Linux-RAID1
(like Charlie indicated)

Just use your two on Mainboard IDE channels:
HD1 as Master on Channel 1
HD2 as Master on Channel 2
(CDROM as Slave on Channel 1 or 2)

- Start installing SME 6.x
- SME will notice those 2 HD drives and ask:
  "Do you want a RAID1 or MIRROR setup"
  (or the like ... I don't have the exact wording)
  Just say "YES"
...and after install you'll have a fully working SAFE RAID1

TIP: Look for the RAIDMONITOR contrib here:
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/raidmonitor/
read, understand ;-) and install

Regards
Reinhold
............

SouthGuy

Driver for a PCI HPT 370 IDE Raid Card
« Reply #3 on: October 03, 2004, 11:05:06 PM »
thanks for your answer.
Maybe I was not precise enough but I don't want sme to be installed on the RAID partition.
I want to have sme installed on a small disk (which is already the case) and then have my data moved on the RAID partition.
When sme detects 2 disks during its intallation, it only offers to use them as RAID 1 and to install itself on it.
I don't want that.

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Driver for a PCI HPT 370 IDE Raid Card
« Reply #4 on: October 05, 2004, 09:15:52 AM »
South Guy,

i) why not have the OS also safe on a Raid1 ???

ii) in this case just set up like charlie told you to...
read: http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html
and you'll see that basically all you have to do is
- install SME as usual
- install the two HDs using a new cheap standard IDE controller (Promise, ITE etc.) on different channels
- partition both disks identical
- write an  /etc/raidtab file like this:
Code: [Select]
raiddev /dev/md0
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        persistent-superblock 1
        device          /dev/hde1
        raid-disk       0
        device          /dev/hdg1
        raid-disk       1

issue the make command:
# mkraid /dev/md0

...and better not start using those disks until
# cat /proc/mdstat
tells you it's finished & ready...

This has been described (in more detail) quite often here ... just search a little in the forum.

Regards
Reinhold
............