Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing on hardware raid - Promise TX2000 (PDC20271)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Wed May 25, 2005 1:57 pm    Post subject: Installing on hardware raid - Promise TX2000 (PDC20271) Reply with quote

I want to install Gentoo on a machine with hardware raid, which is the promise Tx200(PDC20271). I see that the kernel 2.6 has support for it, but I've been looking through the online documentation and can't find any guide on installing on a hardware raid. The disks are already set up and the raid array created.

If anyone has a link to a guide or somehting would appreciate some help.
_________________
RD
Back to top
View user's profile Send private message
Rad
Guru
Guru


Joined: 11 Feb 2004
Posts: 401
Location: Bern, Switzerland

PostPosted: Wed May 25, 2005 3:02 pm    Post subject: Reply with quote

I think I wouldn't do HARDWARE Raid with that card. The thing is, on Linux, the native software Raid often performs better and certainely is more flexible and more recoverable in case of failure (yeh- well not that raid is recoverable in many cases...).
EDIT: I forgot to point out that the promise driver probably does only software raid anyways.

And about your actual question: Well if you need a driver that's not in the kernel to be loaded before your system can boot (usually only harddisk related ones), you do the initrd or maybe the newer initramfs trick.
I hope that link here still is correct, as I haven't used an initrd to "pre-load" a driver for a looong time now. Note that you also need initial ram disk support compiled into the kernel, it should be under the file systems category.
Back to top
View user's profile Send private message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Wed May 25, 2005 3:40 pm    Post subject: Reply with quote

I thought that the hardware raid would be better and easier to administer because say a drive fail, you just add the new one and it will rebuild the array. I'm a bit confused, does this mean that I should remove the card and use software raid instead.
_________________
RD
Back to top
View user's profile Send private message
markkuk
Guru
Guru


Joined: 29 Nov 2002
Posts: 446

PostPosted: Wed May 25, 2005 11:16 pm    Post subject: Re: Installing on hardware raid - Promise TX2000 (PDC20271) Reply with quote

robbz wrote:
I want to install Gentoo on a machine with hardware raid, which is the promise Tx200(PDC20271).

It's not hardware RAID.You can use it as a regular SATA controller with Linux software RAID.
Back to top
View user's profile Send private message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Fri May 27, 2005 3:12 am    Post subject: Reply with quote

So is there anyone who installed a system on one of these cards. I can't seem to find any guide or anything close to give me an exact idea. I was looking at this link http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml and saw some posts on the forum, but nothing really helpful as yet. I guess I have to wait untilt he weekend and do some research. I'm just trying to find some good information to start with, because I don't want to spend a long time experimenting.
_________________
RD


Last edited by robbz on Fri May 27, 2005 4:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Fri May 27, 2005 4:23 pm    Post subject: Reply with quote

I also found this http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID_mirror_and_LVM2_on_top_of_RAID one the Gentoo Wiki. I'm understanding it more now. One thing I don't understand yet though, is if say a hard drive fails and I replace it. Do I just let the promise utility in the BIOS rebuild the new hard drive and add it back tot he array? Do I have to do anything manually.
_________________
RD
Back to top
View user's profile Send private message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Thu Jun 09, 2005 4:09 pm    Post subject: Reply with quote

I booted from the live cd and followed the instructions fromt eh Gentoo site and also fromt he wiki and did modprobe raid1 first. But, the only device I can lood is /dev/hdg, I have to 40GB Maxtor drives, I'm using a Promise TX2000 and using an Asus motherboard. In the BIOS settings the boot device is set as SCSO Boot Device. My question is, does the one hard drive that is being seen is it the raid array I'm seeing, and can I just go ahead and install on this? I'm confuse because from what I read ont he forums and fromt he Gentoo wiki, the promise TX200 uses software raid I can I have to set it up that way. The raid array is already set up using Raid1, currently I'm running FreeBSD on it.
_________________
RD
Back to top
View user's profile Send private message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Thu Jun 09, 2005 4:41 pm    Post subject: Reply with quote

Ok, my BooBoo. I rebooted again and did dmesg to see the disks. and saw /dev/hde and /dev/hdg and I'm able to see both of them with fdisk. Guess it was the PEBKAK (Problem Exists Between Keyboard And Chair). I'm back to installing now.
_________________
RD
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Thu Jun 09, 2005 6:34 pm    Post subject: Reply with quote

robbz,

You can use Linux dmraid or kernel raid.

dmraid is compatible with windows , if thats a concern, as it uses the BIOS to put the drives into a raid array which you then partition in the normal way. You need a soecial liveCD for that, See some of my recent posts.

Kernel raid is not windows compatible (or dmraid compatible). you partition your drives first, then put the partitions into raid array(s).
This allows several raid levels on the same set of drives.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Thu Jun 09, 2005 7:06 pm    Post subject: Reply with quote

I'm having trouble creating the array when I issue :

mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/hde1 /dev/hdg1

It tells gives an error /dev/hde1:

mdadm: size set to 31616k
md: could not bd_claim hde1.
md: error, md_import_device() returned -16
mdadm: ADD_NEW_DISK for /dev/hde1 failed: Device or resource busy
_________________
RD


Last edited by robbz on Thu Jun 09, 2005 7:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Thu Jun 09, 2005 7:11 pm    Post subject: Reply with quote

I should also mention that I'm using 2 40GB Maxtor drives each one are on one controller for the raid card, and the CD-Drive is connected to my mainboard.
_________________
RD
Back to top
View user's profile Send private message
robbz
n00b
n00b


Joined: 27 Mar 2005
Posts: 33

PostPosted: Sat Jun 18, 2005 12:50 am    Post subject: Reply with quote

It might have been a seeting in the BIOS or something, anyhow I just installed back FreeBSD ont hat machine. I followed the same procedure on another machine I'm going to install MythTV on and I got the software raid (RAID1) setup with no problems at all using the same
_________________
RD
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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