LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2005, 01:06 PM   #1
Metal-X-Man
LQ Newbie
 
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6

Rep: Reputation: 0
RAID-1 / After the server's already running!


I need some advise because I'm a rookie at Linux.

Hardware/Software:
---
Suse 9.2 Professional
(1) 120MB SATA HDD
512MB DDS RAM
PHP 4.3.8
Apache/2.0.50 (Linux/SUSE)
MySQL 4.0.21
--

Now that I have my server up and running, I realize that I need to add RAID-1. My motherboard will allow me to run the two SATA Drives, not a third. I have the identical HDD and I'm ready to install it.

I had a company help me set up the server. Is there an easy way to save my setup? I can backup the data itself. Im afraid I'll have to do a fresh install.

Thanks in advance!

Metal-X
 
Old 03-19-2005, 10:04 PM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
You should have configured RAID 1 mirroring before the install, but you can mirror the drive if you have a 3ware or LSI brand RAID card. It's a simple matter of adding it via the RAID cards bios.

If you don't have a kernel native card and have to implement software RAID, then you would have to install the RAID tools package on linux and then RAID it out that way. You should be OK either way, but the correct way is to use a 3ware or LSI or other kernel native card, and install your OS after setting up the RAID config. Current situation, just read up on the RAID tools package and mirror it out after you do a full backup. Good luck.
 
Old 03-20-2005, 10:19 AM   #3
Metal-X-Man
LQ Newbie
 
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6

Original Poster
Rep: Reputation: 0
Thoreau,

Thanks for the reply! Is this the difference between software RAID, and hardware RAID (adding the 3ware card)? My server doesn't have a RAID controller currently.

I looked at the 3ware site, and specifically at these cards:
--
[8006-2LP] - Up to 2 Serial ATA 0,1, JBOD - (Workstations,Gaming)
[8506-4LP] - Up to 4 Serial ATA 0,1,10,5, J - (BOD Departmental Servers,Video Editing)
--

I'll follow their support for adding the card to my Linux box. If I understand you right, there's a migration method (transferring existing data & setup) adding RAID with the 3ware products?


Thanks for your help!

Metal-X

Last edited by Metal-X-Man; 03-20-2005 at 11:41 AM.
 
Old 03-20-2005, 02:58 PM   #4
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
The difference between software and hardware RAID are just that. Like winmodem versus a hardware modem. 3ware, LSI, ArcoRAID, etc. are all PATA/SATA hardware RAID cards that have linux drivers in the kernel and are hardware bios level RAID.

Promise, Silicon Image, and 24 other Taiwanese creations are all software RAID. It uses your CPU and your drivers to actually create the RAID and to read/write to it.

Yes, those 3ware cards are fine. Oddly enough, they cost the same or maybe 20 bucks more than Promise- so I don't get why people would ever use them.

To backup your data, mount a network drive. If you are sharing partition C:\backup on another winbox, then set the share as administrator/password. Mount in linux like so:

As root,
mkdir /mnt/backup
mount -t smbfs -o username=administrator,password=password //winbox/backup /mnt/backup


Yast, System, System backup, local drive(/mnt/backup)

Do a full System backup to that drive. And be happy.
 
Old 03-20-2005, 06:54 PM   #5
Metal-X-Man
LQ Newbie
 
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6

Original Poster
Rep: Reputation: 0
Thoreau!

Thanks for the info. I'll post the final results. I'll pickup the 3ware 8506-4LP (RAID 0,1, 10, 5) this week and get work on it. I want to turn this server on live in two weeks.

Once again...thanks for guiding this rookie! It's been a while since I used Linux. It'll take a year or so to get back up to speed.
 
Old 03-25-2005, 07:10 PM   #6
Metal-X-Man
LQ Newbie
 
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6

Original Poster
Rep: Reputation: 0
Thoreau,

I ended up with a Rocketraid 1520 card. I installed the card, hardware, etc. and ran the BIOS setup on the card.

Problem is, I'm getting a "kernel panic - not syncing: Attempting to kill init!" on my boot, then the system locks up.

I think I'm missing a step somewhere. I went into the system BIOS and had the system boot from the RAID. The RAID BIOS, disk 1 is set to boot, but nothing.

I've been beating my brains out trying to figure this out. I'm going to have to pull the card back out and run the single drive again until I can figure this out.

Metal-X
 
Old 03-26-2005, 07:42 PM   #7
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Highpoint is software RAID. You said you were getting a 3ware card.

You have to configure the highpoint driver(if possible) and software RAID tools with the one drive plugged into a standard IDE port. The you can reboot with the IDE drive on the software RAID card. Then you can add the secondary hard drive to the RAID controller after that and mirror it with software.

That error means the kernel can't see the card. AKA no drivers have been configured for that card.
 
Old 03-26-2005, 08:28 PM   #8
Metal-X-Man
LQ Newbie
 
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6

Original Poster
Rep: Reputation: 0
Now (for sure) I know the difference. I pulled the card out and reboxed it...it's going back. Just trying to save a buck. BIG difference in the cost by the way.

My systems back up and running on the single drive. System BIOS restored to original.

I'll shop the different TRUE hardware RAID cards. Hopefully I'll get one for under $200US. Thanks for the note and your patience during my learning process.

George
 
Old 03-26-2005, 08:54 PM   #9
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
8006-2LP is $128 at ewiz.com. ROcketRaid is 55 bucks. Yea, it's a big difference. But considering you paid 55 for nothing, then that makes an even bigger difference in the opposite direction. Good luck.
 
Old 03-26-2005, 09:25 PM   #10
Metal-X-Man
LQ Newbie
 
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6

Original Poster
Rep: Reputation: 0
Thoreau,

Actually I paid $65 for the 1520 RocketRaid locally, but that's fully refundable and going back to the store in the morning! No loss there.


Here's what I ordered:
--
HDC 3WARE ESCALAD8006-2LP SATA RAID
--

Now I have it right (finally)! My AMD 64 2800+ will be a lot happier with the hardware RAID. At least I learned a thing or two about kernel panic!

Thanks - I've got it from here!

Metal-X-Man
 
  


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
server's where...... Dark_Sniper* Linux - Hardware 10 06-17-2005 11:07 PM
Learning Server's emailssent Linux - Newbie 2 09-28-2004 12:32 AM
Adaptec Serial ATA RAID 1210SA - Anyone running his successfully? Galik Linux - Hardware 5 06-18-2004 11:46 PM
I am haveing trubles running fdisk on my raid BrokenOne Linux - Hardware 2 10-13-2003 03:06 PM
Installing a RAID 1 on a running server Q25 Linux - Software 3 08-21-2001 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:42 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