LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-06-2003, 01:00 PM   #1
dynamo|x
LQ Newbie
 
Registered: May 2003
Location: Atlanta
Distribution: Red Hat 9
Posts: 16

Rep: Reputation: 0
Installing RH9 on software RAID 0


Hello guys. I have 2 9gig hdd's. I would like to create a raid 0 set and install RH9 on it. These are two scsi hdd's connected to an Adaptec 2940 controller. It's just a simple scsi card, so hardware raid is not an option. This is my play box so i don't care if i don't have any redudancy. I boot from cd1 and try create two software raid partitions, then it tells me that / partition can only be on a raid 1 disk. What am i doing wrong?

Thanks
 
Old 07-06-2003, 04:59 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
actually /boot can only be on raid 1

here is an example..

create the partitions on each drive

/dev/sda1 for /boot
/dev/sdb1 for /boot
/dev/sda2 for /
/dev/sdb2 for /

create the raid 1 on md0 with sda1 and sdb1 = /boot
create the raid 0 on md1 with sda2 and sdb2 = /

most people should setup the boot loader config be sure to have it load to both, or if you don't care don't.

boot=/dev/md0
 
Old 07-06-2003, 06:19 PM   #3
dynamo|x
LQ Newbie
 
Registered: May 2003
Location: Atlanta
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
David, thank you for helping me. It will not allow me to create two /boot partitions on each drive. I first create /boot on SDA , then when i try to create /boot on SDB it says /boot is already mounted, choose another mount point? I started with two hdd's with no partitions.

Thanks
 
Old 07-06-2003, 06:55 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
you first create the partitions (/dev/sda1 and /dev/sda2) and make them type raid, then you create the raid 1 device (selecting the two partitions to add to it), then set the raid device (md0) to mount on /boot



do the same for the / partitions using raid type 0

Last edited by DavidPhillips; 07-06-2003 at 06:57 PM.
 
Old 07-06-2003, 07:48 PM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
That's not your only option,

if you don't want to you don't even need raid on the /boot partition

you could do it like this

/dev/sda1 = /boot
/dev/sda2 + /dev/sdb1 = md0 = /
 
Old 07-06-2003, 08:42 PM   #6
dynamo|x
LQ Newbie
 
Registered: May 2003
Location: Atlanta
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
David, thank you for quick responses. Would i have to first create raid partition on each drive and then set raid device+mount for each partition i want to create such as /usr, /home etc...


Thank you again
 
Old 07-06-2003, 09:08 PM   #7
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
I normally do everything from within the install using cfdisk.
create the /boot partition on the first harddrive. Or both if it's to be raid.

for each partition you would do the following

create the partitions that will be part of the raid devices, one on each drive. make them of type raid

create the raid devices and select the mount points from the partitions you made

now with all the partitions made into raid devices and assigned mount points you should be ready to go on and save changes and continue the installation


you will have something like this

md0 /boot
md1 /
md2 /usr
md3 /var

etc....

Last edited by DavidPhillips; 07-06-2003 at 09:09 PM.
 
Old 07-06-2003, 09:11 PM   #8
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
you can create all the partitions at once then start to create the raid devices or just do them one raid device at a time


it works either way
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Debian after CentOS with software RAID arsham Linux - Distributions 0 11-07-2005 05:12 AM
Nforce 3 ultra software raid while installing debian Devrethman Linux - Hardware 2 08-27-2005 08:25 AM
installing software on rh9 TheGateKeeper Red Hat 3 08-09-2004 08:38 AM
RH9 Software Raid 1 hard drive failure - GRUB loader errors Mynar Linux - Newbie 1 01-28-2004 10:25 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM


All times are GMT -5. The time now is 02:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration