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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-18-2005, 01:06 PM
|
#1
|
LQ Newbie
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6
Rep:
|
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
|
|
|
03-19-2005, 10:04 PM
|
#2
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
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.
|
|
|
03-20-2005, 10:19 AM
|
#3
|
LQ Newbie
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
03-20-2005, 02:58 PM
|
#4
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
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.
|
|
|
03-20-2005, 06:54 PM
|
#5
|
LQ Newbie
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
03-25-2005, 07:10 PM
|
#6
|
LQ Newbie
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6
Original Poster
Rep:
|
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
|
|
|
03-26-2005, 07:42 PM
|
#7
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
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.
|
|
|
03-26-2005, 08:28 PM
|
#8
|
LQ Newbie
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6
Original Poster
Rep:
|
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
|
|
|
03-26-2005, 08:54 PM
|
#9
|
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167
Rep:
|
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.
|
|
|
03-26-2005, 09:25 PM
|
#10
|
LQ Newbie
Registered: Mar 2005
Location: Columbus, Ohio
Posts: 6
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 06:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|