View previous topic :: View next topic |
Author |
Message |
UnrealSnowman n00b
Joined: 10 Jun 2002 Posts: 3 Location: Denmark
|
Posted: Mon Jun 10, 2002 8:50 pm Post subject: Onboard IDE-RAID ??? |
|
|
I'm about to get a new computer for my workstation and have my eye set on running ide-raid (2x 80gb). This will run on the motherboards controller, eighter Promise or Highpoint's onboard controller.
But before I go out and put together a system I would like to get some info on the subject, some DO's & DONT's..
(ie: is there problems with some of the controllers and such)
Do you have any info to share, before I spend twelve nights trying to setup this raid-thingie in gentoo linux ?
Thanks in advance _________________ Yours
UnrealSnowman |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20585
|
Posted: Mon Jun 10, 2002 9:00 pm Post subject: |
|
|
You might try a search for RAID and see what comes up. There are some threads that cover booting to a RAID drive and other issues. I myself do not use RAID yet. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Jun 10, 2002 9:01 pm Post subject: Re: Onboard IDE-RAID ??? |
|
|
UnrealSnowman wrote: | Do you have any info to share, before I spend twelve nights trying to setup this raid-thingie in gentoo linux ? |
I have not heard of any successful Gentoo installs on an IDE RAID setup. (That doesn't mean there aren't any -- just that I haven't heard of any) There have been a lot of posts in these forums about getting IDE RAID and Gentoo to play nicely together, especially during the install process.
I do believe I remember reading about folks who were able to get Gentoo and IDE RAID to work, but they installed Gentoo on a separate, non-RAID drive and used their RAID for data storage only. (/home, etc.)
If anyone has been able to successfully install Gentoo on an IDE RAID array, please let us know -- I know there's a lot of people that would like to know how to get this to work.
(It would be especially useful if someone would be willing to write up a short HOWTO for the documentation forum)
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Mon Jun 10, 2002 9:22 pm Post subject: |
|
|
dont do ide raid...those chipsets provided on the mother boards are not event that much of an enhancement under windows...they are CHEEEEEEP ....look at the cost difference between them ad the non-raid board by the same manufacturer
USE LINUX SOFTWARE RAID...it is fast and reliable adn offers the full spectrum of raid configurations....save yourself money and aggrevation and get a simple promise tx2 or tx4 "ide" controller for adding addition ide channels and use LSR
in gentoo the tools are available from the start to setup the raid array from the begining of the install...the only lil piece of information that was missing was that after you fdisk and create the /etc/raidtab you need to 'modprobe md' so that the setup can be seen....your raided drive will become /dev/md0...check out the articles section in gentoo and read the links it gives too. |
|
Back to top |
|
|
UnrealSnowman n00b
Joined: 10 Jun 2002 Posts: 3 Location: Denmark
|
Posted: Mon Jun 10, 2002 10:59 pm Post subject: |
|
|
Ahh.. "Seach", I must need glasses heheh
But all in all it seems to be a stupid idea to go for a HW (low budget) ide raid (..also considering the performance of a /real/ SCSI raid card)
- rommel -
"USE LINUX SOFTWARE RAID" you say, eh?.. This /does/ help performance ('stippin' mode)? What about resources, does it not eat the system down or is it handled mainly by the normal ide controller ?
btw: Thanks for the fast reply! _________________ Yours
UnrealSnowman |
|
Back to top |
|
|
james n00b
Joined: 24 Apr 2002 Posts: 56 Location: Middle Smithfield, PA
|
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Tue Jun 11, 2002 3:09 am Post subject: |
|
|
i bought a 20 dollar promise tx2 ata 100 ide controller...my dvd is on hda my cdrw is on hdc and i have two ibm 60gxps on the promise that make hde and hdg...i partitioned them to have boot on hde1 and swap on hdg1...i made these equal in size 500mbs each....then i formed extended partitions for the remaining space and one logical drive in the extended partition for each drive...you must label these logical drives FD so that they will be started automatically at boot...then you create the /etc/raidtab that corresponds the raid you want to use....read the howto's...after this modprobe md to start the raid dev you have created and then you create teh filesystem you want...i used reiserfs on the /dev/md0 and ext2fs on the boot partition.
anyway i am getting 80mb/s read tranfers when i run hdparm -t /dev/md0
this is like runnnng my scsi cheetahs under my free bsd box....so yes it works....the best i have seen from an ide raid controller is the 3ware and it gets around 60mb/s but it costs alot more and i dont think its worth it...LSR is an excellent solution...i wish freebsd had a similar software raid...vinum and ccd are ok but cant have / on them...you would have to create it then migrate it to the / partition and hope nothing went wrong....just read the articles drobbins has written and follow the links he gives to the additional reading....no one should try anything other then this for linux unless you want real scsi hardware raid and even then i dont think you will do any better as far as the performance is concerned....you could create a LSR array witha scsi ultra 160 controller too...that will be what i do next...i just bought another tekram host adapter and two more cheetahs.
ciao
good luck and give it a try...you'll like it |
|
Back to top |
|
|
UnrealSnowman n00b
Joined: 10 Jun 2002 Posts: 3 Location: Denmark
|
Posted: Tue Jun 11, 2002 6:33 pm Post subject: |
|
|
Thanks a billion!
btw: that IBM dveloper resource /is/ great.. there are a few goodies in thier redbooks-section too.
(I was once OS/2 user ) _________________ Yours
UnrealSnowman |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Tue Jun 11, 2002 11:50 pm Post subject: |
|
|
no problem....its worth it to try LSR....you like it i am sure and its fully functional in that all levels are supported....and its something that is in the kernel already...you just to add the levels and compile them in...much better then hasseling with drivers adn 3 party crap.
have fun |
|
Back to top |
|
|
ph317 n00b
Joined: 02 Jun 2002 Posts: 43
|
Posted: Wed Jun 12, 2002 2:47 pm Post subject: |
|
|
Yes, you can make Gentoo work with the fake hardware raid controllers like Promise FastTrack. The only hard drives in my machine are two 40G Seagates, in a striped array on the raid controller (making one big 80G disk). I'm sharing the array with WinXP, and using Grub to boot both OS's. My relevant system specs:
Processor: Athlon-XP
MB: A7V333 (RAID version)
Onboard "RAID" Controller: PDC20276 (Promise FastTrack 133)
I used the 1.1 iso image to start the install, and I ended up having to customize the isntall CD for the right hardware support (I put gentoo-.2.419-r5 kernel on it, which has the correct ataraid support in it). The new 1.2 ISO may have the correct support built in already.
If you get a kernel booted that detects and uses your ataraid correctly - the disk will be available (under devfs anyways) at /dev/ataraid/disc0/disc and the partitions are /dev/ataraid/disc0/partX.
I've had some troubles where I have to reboot after changing the partition table, but it's not that much of a hassle.
The big gotchas concern Grub and mounting the root filesystem:
1) Make sure the kernel you build has support for the IDE controller, support for "ataraid", and support for either Promise or Highpoint ataraid variation compiled in, not as modules.
2) Don't install Grub from within linux. When you get to the final step of your Gentoo install, where you're supposed to run "grub" and do "setup (hd0,0)", etc.... - don't do that. Instead, install grub to a floppy disk, boot from that floppy, and then from the grub prompt on that floppy do your "setup (hd0,0)" and "root (hd0,X)" commands. You should then be able to reboot off the array. The reason is that hd0,0 doesn't mean the right thing within linux - but booted off of a grub floppy, you're back to BIOS drive mappings, and if your BIOS is set up correctly the raid array should be the primary HDD.
3) Just before the above, when you edit /boot/grub/menu.lst to add an entry to boot your kernel, you need a special kernel option so that it can mount your root filesystem. Instead of what one would expect "root=/dev/ataraid/disc0/partX", you have to use the hex for the device major/minor numbers, like "root=7204". 72 hex is the major number for ataraid, and 04 would mean partition 4.
Those were the big ones, there might've been other stuff I forgot already. It *is* doable, there's just more gotchas than normal. |
|
Back to top |
|
|
castor_fou Apprentice
Joined: 23 May 2002 Posts: 249 Location: Clermont-Ferrand, France
|
Posted: Fri Jun 14, 2002 9:34 pm Post subject: |
|
|
thanks ph317 for this info.
i'm in the same conf, i was stopped by grub....
going to test this ! |
|
Back to top |
|
|
castor_fou Apprentice
Joined: 23 May 2002 Posts: 249 Location: Clermont-Ferrand, France
|
Posted: Sat Jun 15, 2002 12:54 am Post subject: |
|
|
i'm really really close.
i've done a grub floppy , it finds my kernel but it is unable to mount my root partition.
my root is /dev/ataraid/disc0/part4
my grub config is :
root (hd1,0)
kernel /boot/bzImage root=7204
boot
i got a kernel panic :
Kernel panic: VFS: Unable to mount root fs on 72:04
could you please post your menu.list ?
thanks |
|
Back to top |
|
|
c0s n00b
Joined: 23 Jun 2002 Posts: 4
|
Posted: Sun Jun 23, 2002 8:41 am Post subject: |
|
|
i am having the same problem, any help is appreciated (other then telling me i should have done software raid ) |
|
Back to top |
|
|
c0s n00b
Joined: 23 Jun 2002 Posts: 4
|
Posted: Sun Jun 23, 2002 5:07 pm Post subject: |
|
|
another thing i noticed, if i boot in with the cd now and chroot, etc, i no longer have /dev/ataraid did i forget to compile something in? i compiled in ataraid (not as a module) and the promise chip that was directly below it in the menu. was i supposed to also compile the one that is a few lines up? or what? i REALLY want to get this up. |
|
Back to top |
|
|
c0s n00b
Joined: 23 Jun 2002 Posts: 4
|
Posted: Tue Jun 25, 2002 4:33 am Post subject: |
|
|
ok here is what i am going to try and i will let you know if it works
modules howto section 7
boot to a ramdisk and then load then load the ataraid pdcraid drivers then let it mount the root filesystem, that ought to work. |
|
Back to top |
|
|
c0s n00b
Joined: 23 Jun 2002 Posts: 4
|
Posted: Wed Jun 26, 2002 5:46 pm Post subject: |
|
|
ok i couldnt get the ramdisk working, it wanted a root= perameter oh well, i have another idea but i am at work now so i will try it later |
|
Back to top |
|
|
BernieKe Tux's lil' helper
Joined: 02 Jul 2002 Posts: 130 Location: California/Bangalore/Belgium
|
Posted: Tue Jul 09, 2002 8:53 am Post subject: A Hardware RAID install howto |
|
|
A Hardware RAID install howto
I'm using the hpt374 controller (highpoint)
(if you use another controller replace all hpt or highpoint with what suits you)
- apart from what is written here: follow the installation docs!!!
- boot (using min. a 1.2 install-disk)
- type (this will create the raiddevice)
Code: |
insmod ataraid
insmod hptraid
fdisk /dev/ataraid/disc0/disc
|
when making filesystem: use the /dev/ataraid/disc0/partX notation
when choosing kernel-options: select hpt366 chipset support, support for IDE Raid controllers and Highpoint 370 software RAID
in fstab: use the /dev/ataraid/disc0/partX notation
instead of grub, i suggest using lilo
Code: |
emerge lilo
cp /etc/lilo.conf.example /etc/lilo.conf
nano -w /etc/lilo.conf
|
when editing lilo.conf:
- as bootdevice: select the first hd of your raid-setup (in my case: hde)
- and as root: use the /dev/ataraid/d0pX notation
type (X is your root partition number):
Code: |
exit
ln -s /dev/ataraid/disc0/partX /dev/ataraid/d0pX
mount -o bind /dev mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
lilo
|
normally lilo should succesfully have written to the mbr
exit, umount everything (including the /mnt/gentoo/dev !!!) and reboot
if you are unable to umount /mnt/gentoo, make sure you have umounted
the other mounts in /mnt/gentoo and try logout, after loging out, try to umount again, it should work now
PRAY, no, seriously, this should work!!!
hope this helps someone,
Bernard
aka BernieKe |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Tue Aug 27, 2002 2:03 pm Post subject: |
|
|
BernieKe, how about the Promise controller, what shall you do there? _________________ Queen Rocks. |
|
Back to top |
|
|
BernieKe Tux's lil' helper
Joined: 02 Jul 2002 Posts: 130 Location: California/Bangalore/Belgium
|
Posted: Tue Aug 27, 2002 2:21 pm Post subject: |
|
|
instead of hptraid, use the pdcraid module
in kernel config, select
Code: | PROMISE PDC202{46|62|65|67|68|69|70} support |
and
Code: | Support Promise software RAID (Fasttrak(tm)) |
instead of the highpoint equivalents
i think that should do the trick
Last edited by BernieKe on Tue Aug 27, 2002 2:24 pm; edited 1 time in total |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Tue Aug 27, 2002 2:24 pm Post subject: |
|
|
thanks, going to surgest the team to add the information to the installation howto _________________ Queen Rocks. |
|
Back to top |
|
|
ErrorCode n00b
Joined: 28 Aug 2002 Posts: 2
|
Posted: Wed Aug 28, 2002 11:17 am Post subject: A big thanks to all of you and some additional notes |
|
|
Hello,
I just installed Gentoo 1.4 (from a stage3 tarball) on a Promise raid controller (2 60GB ATA133 Harddisks - striping) on an AUS A7V333 motherboard. Thanks to all of you; I don't think I could have gotten it to work without the tips I found in this Forum.
Some additional comments:
Quote: |
3) Just before the above, when you edit /boot/grub/menu.lst to add an entry to boot your kernel, you need a special kernel option so that it can mount your root filesystem. Instead of what one would expect "root=/dev/ataraid/disc0/partX", you have to use the hex for the device major/minor numbers, like "root=7204". 72 hex is the major number for ataraid, and 04 would mean partition 4.
|
It does work without using the hex numbers; However:
In the menu.lst for GRUB, you have to use the /dev/ataraid/dXpY notation, and in /etc/fstab you have to use /dev/ataraid/discX/partY.
At least that's how I got it to work...
On a side Note:
I've read a lot of 'use Linux Software RAID instead' claiming that the Promise controller's speed in striping mode isn' t realy that great...
Does anyone have any measuments on the Promise Striping speed?
How did you get them?
hdparm -t /dev/ataraid/disc0/disc doesn't seem to work... |
|
Back to top |
|
|
c_kuzmanic Guru
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
Posted: Sun Sep 15, 2002 2:03 pm Post subject: |
|
|
YEHAAA!!!
After much pain and hassle with grub, I finally got my software raid arrays installed and running
Two Maxtor ATA133 IDE Disks, RAID0 using Reiserfs:
hdparm -t /dev/md1 = 93 Mb/s
|
|
Back to top |
|
|
tore- n00b
Joined: 30 Sep 2002 Posts: 32
|
Posted: Mon Oct 07, 2002 11:35 am Post subject: Re: A Hardware RAID install howto |
|
|
BernieKe wrote: | A Hardware RAID install howto
I'm using the hpt374 controller (highpoint)
(if you use another controller replace all hpt or highpoint with what suits you)
- apart from what is written here: follow the installation docs!!!
- boot (using min. a 1.2 install-disk)
- type (this will create the raiddevice)
Code: |
insmod ataraid
insmod hptraid
fdisk /dev/ataraid/disc0/disc
|
- when making filesystem: use the /dev/ataraid/disc0/partX notation
- when choosing kernel-options: select hpt366 chipset support, support for IDE Raid controllers and Highpoint 370 software RAID
- in fstab: use the /dev/ataraid/disc0/partX notation
- instead of grub, i suggest using lilo
Code: |
emerge lilo
cp /etc/lilo.conf.example /etc/lilo.conf
nano -w /etc/lilo.conf
|
- when editing lilo.conf:
- as bootdevice: select the first hd of your raid-setup (in my case: hde)
- and as root: use the /dev/ataraid/d0pX notation
- type (X is your root partition number):
Code: |
exit
ln -s /dev/ataraid/disc0/partX /dev/ataraid/d0pX
mount -o bind /dev mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
lilo
|
normally lilo should succesfully have written to the mbr
- exit, umount everything (including the /mnt/gentoo/dev !!!) and reboot
if you are unable to umount /mnt/gentoo, make sure you have umounted
the other mounts in /mnt/gentoo and try logout, after loging out, try to umount again, it should work now
- PRAY, no, seriously, this should work!!!
hope this helps someone,
Bernard
aka BernieKe |
dont you have to edit the ide-pci.c file before making your downloaded kernel? |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Mon Oct 07, 2002 11:48 am Post subject: |
|
|
I compiled my kernel without editing anything, and it works for my Promise RAID system. (Just had to enable the controller in the kernel)
Then I made a grub boot disk, and bootet from that one, and installed grub on hd (0). _________________ Queen Rocks. |
|
Back to top |
|
|
tore- n00b
Joined: 30 Sep 2002 Posts: 32
|
Posted: Mon Oct 07, 2002 1:01 pm Post subject: |
|
|
GurliGebis wrote: | I compiled my kernel without editing anything, and it works for my Promise RAID system. (Just had to enable the controller in the kernel)
Then I made a grub boot disk, and bootet from that one, and installed grub on hd (0). |
could you please write how your fstab looks like, and what you wrote in grub?
thanks |
|
Back to top |
|
|
|