LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-20-2004, 10:44 PM   #1
4steve44
LQ Newbie
 
Registered: Oct 2004
Location: Vancouver USA
Distribution: Ferdora Core
Posts: 7

Rep: Reputation: 0
SCSI drives


I hope this is the right place to post this. If not let me know. I have a HP server running Redhat 9. Specs are 1Ghz PIII with 2.5GB ECC Reg. SDRAM and six HP scsi drives totaling 144GB. I am using the onboard scsi connector. I see that Redhat has been installed on the first 36Gb drive and sees all the others as storage. What do I need to run it in a raid 0 config and how do I do it?

Last edited by 4steve44; 10-20-2004 at 10:45 PM.
 
Old 10-22-2004, 06:27 PM   #2
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 184

Rep: Reputation: 36
This depends on what kind of implementation you want:
-hardware
-sofware

Linux the software version is not very hard. You make 2 partiions, normally
they are on a different drive and have the same size

for example a config for raid 1 other are similar to this, maybe you like a raid5
or even a raid 0 (speed)


in /etc/raidtab
# Sample raid-1 configuration
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 4
device /dev/sdb1
raid-disk 0
device /dev/sdc1
raid-disk 1



mkraid /dev/md0 make the raiddevice

start with raidstart and stop with raidstop

after starting you can use the device /dev/md0
 
Old 10-23-2004, 12:23 PM   #3
4steve44
LQ Newbie
 
Registered: Oct 2004
Location: Vancouver USA
Distribution: Ferdora Core
Posts: 7

Original Poster
Rep: Reputation: 0
Perhaps I should have explained that this is my first experience with Linux and my first experience working with a server. I have already installed Redhat 9. Do I need to reinstall and add some raid 0 driver or can I do that now that it is installed. Also I have 6 scsi drives in now. Two are 36GB and four are 18GB. Thanks in advance
 
Old 10-23-2004, 01:40 PM   #4
hkb33
Member
 
Registered: Sep 2004
Location: Raleigh NC
Distribution: Fedora / RHEL
Posts: 171

Rep: Reputation: 30
You can make a raid 0 out of the other 4 or 5 disks without having to reinstall. If you want to use all 6 disks, then you most likely have to back everything up and start over again, since the Raid 0 has to initialize and stripe all the data accross the disks. In order for all the drives to be used, the partitions all have to be of type Linux Raid, which you define at install time or using fdisk if you decide to set up raid after installation is complete. Also, once the raid device is created you have to put a filesystem on it (ext2 or ext3) which involves formatting the disk.

I suggest reinstalling if you want to use all the disks in a Raid 0 setup.
 
Old 10-23-2004, 03:01 PM   #5
redwing25
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
If it is an HP Netserver with the embedded RAID controler look for something on bootup that says "Advanced users can hit Ctrl+M to edit RAID settings"

This is where you can define the RAID arrays for the hardware controler.
 
Old 10-25-2004, 07:24 PM   #6
4steve44
LQ Newbie
 
Registered: Oct 2004
Location: Vancouver USA
Distribution: Ferdora Core
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by redwing25
If it is an HP Netserver with the embedded RAID controler look for something on bootup that says "Advanced users can hit Ctrl+M to edit RAID settings"

This is where you can define the RAID arrays for the hardware controler.
Thanks redwing25 I do see that message at boot up but because I am not an advanced user I did not want to do something I could not undo. Any advise as to what I should do once I am there or is it self explanitory? Oh yes it is a HP Netserver. Thanks again!
 
Old 10-25-2004, 07:27 PM   #7
4steve44
LQ Newbie
 
Registered: Oct 2004
Location: Vancouver USA
Distribution: Ferdora Core
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by hkb33
You can make a raid 0 out of the other 4 or 5 disks without having to reinstall. If you want to use all 6 disks, then you most likely have to back everything up and start over again, since the Raid 0 has to initialize and stripe all the data accross the disks. In order for all the drives to be used, the partitions all have to be of type Linux Raid, which you define at install time or using fdisk if you decide to set up raid after installation is complete. Also, once the raid device is created you have to put a filesystem on it (ext2 or ext3) which involves formatting the disk.

I suggest reinstalling if you want to use all the disks in a Raid 0 setup.
Thanks hkb33 for all your info. I will try to put it to good use
 
Old 10-26-2004, 12:35 AM   #8
redwing25
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
Quote:
Originally posted by 4steve44
Thanks redwing25 I do see that message at boot up but because I am not an advanced user I did not want to do something I could not undo. Any advise as to what I should do once I am there or is it self explanitory? Oh yes it is a HP Netserver. Thanks again!
It is very self explanistory....but I do not remember the details as it has been a couple years since I have had to change the array in my machine.

Read up here to figure out what level suits your needs:

http://www.acnc.com/raid.html

Then go ahead and set it up.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scsi floppy drives needed?! crashmeister General 3 08-26-2005 07:18 PM
My scsi drives have disappeared Joe Soap Linux - Newbie 9 03-22-2005 03:05 PM
Testing scsi drives hari_seldon99 Linux - Hardware 1 12-04-2004 05:17 PM
SCSI emulation for IDE drives Boudewijn Linux - Hardware 5 12-09-2003 01:53 AM
Cd drives and K3b. Scsi emulation?? ludeKing Linux - Hardware 2 10-15-2003 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration