LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-26-2008, 04:02 PM   #1
ossnap
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Rep: Reputation: Disabled
Help setup raid 0


I need to install 2 1TB drives into a RHEL 4 computer and have them setup with Raid 0. I've never done this but president of the company needs it done by the end of the day. Can anyone give some helpful pointers. I've referenced a few articles on the Red Hat Knowledge base but I'm not too confident at this point.

From what I've gathered, I need to create a raidtab file and then use the mkraid command, then mount the raid array.

Any helpful tips would be GREATLY appreciated.
 
Old 03-26-2008, 04:41 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,829
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Actually you should use mdadm for RAID (meta-disks).

Haven't done this so can only point you at the man page - just type:

man mdadm
 
Old 03-27-2008, 07:52 AM   #3
ossnap
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: Disabled
well we hooked up 2, 1TB drives. The machines are Dell Precision 690's and they have a built in SAS card. On the motherboard there are 3 SATA ports, and 4 more SATA ports labeled HDD. I had to hook the drives up to the HDD SATA ports before the SAS utility would recognize them. I created a striped array using the SAS utility.
Once we booted the Operating System I ran a LVM utility that was in the system settings menu of the Gnome Desktop. This showed the 1.7 ish TB data as being unallocated and uninitialized. I initialized the data using that utility and created a LVM on it.
Next I popped open a Terminal windows and made the Filesystem on the device using mkfs.ext2 /dev/sdb. After that completed I edited the fstab file to automount the device to /striped (the mountpoint folder I created). Created another Samba share and I was done.
I guess I got off lucky by being able to use the SAS controller to create teh raid. Hopefully it's setup right, at least it appears to be.
I had read some stuff about mdadm before we started but, I never used it. I'll look further into this utility for better info.
 
Old 03-27-2008, 08:27 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,829
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Hardware RAID (your SAS controller) is always better than software RAID (mdadm) because the processing is done by the controller for the former and by the OS (cpu/memory) for the latter.

Once again it proves what "assume" means - I'd assumed you needed to do software RAID because that was what your question mentioned.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID Setup gtrawoger Linux - Hardware 1 07-13-2006 09:37 AM
Raid 1 setup Odins_Son Linux - General 3 06-30-2005 11:51 PM
RAID setup nic55 Linux - Newbie 0 02-07-2005 06:28 AM
need help with a RAID setup Ekj530 Linux - Newbie 1 08-13-2003 02:15 PM
RAID-1 Setup ? Breezwell Linux - Software 4 11-06-2001 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration