LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-11-2007, 11:41 PM   #1
mr_scary
Member
 
Registered: Aug 2006
Posts: 39

Rep: Reputation: 15
Advice on software RAID solution


I have a Gentoo box with 3 identical drives* and I want to set up the following software RAID solution:

Drive 1: system
Drive 2 and 3: RAID 0

I had a look at the Linux Software RAID Howto but it is dated 2004-06-03. Is this still relevent? Is there another solution I should be looking at?

Thanks to any responders.

Peter

* Seagate ST3160812AS; 160 GB; SATA 300
 
Old 01-12-2007, 01:06 AM   #2
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
look up 'mdadm' (md-admin ... multidisk administration or something like that). it is the replacement for raidtools and as of fc4 it is 'stock' in red hat distros. don't know about gentoo, but you can easily take the mdadm source or rpm and install it for your distro.

i currently use linux software raid to run a mirrored array of 2 disks and a striped (raid 5) array of 4 disks, and i'm crazy happy with it so far.

silicon image chipsets are natively supported by modern linux kernels (even in rpm form), as are a whole bunch of other ones but i'll be damned if i know what they are.

i'm a Sil fan, others are not... either way, get a controller that is recognized by linux without fiddling with a driver -- easiest way to get going. unless, of course, you're working off your mobo EIDE header, in which case u're already running it so no sweat.

to check if u have mdadm already installed, just run [abc@123]# /sbin/mdadm at the prompt to see what pops up.
 
Old 02-18-2007, 12:22 AM   #3
mr_scary
Member
 
Registered: Aug 2006
Posts: 39

Original Poster
Rep: Reputation: 15
I installed mdadm and set up my array but I get strange results when I boot up.

First, a boot message:

"mdadm: no arrays found in config file"

Now I do have /etc/mdadm.conf:

---------------------------------------------
DEVICE /dev/sd[bc]1
ARRAY /dev/md0 level=raid0 num-devices=2
UUID=5f79d056:a18f016b:5125e750:9565ed9f
---------------------------------------------

That last two lines are really one line in my file.

Second, my array still comes up ok except that it is associated with the device /dev/md/0 instead of the one I iniitially configured before reboot: /dev/md0. This last one is also what is contained in my /etc/fstab file:

/dev/md0 /vol2 ext3 defaults,noatime 1 2

Here is df output:

/dev/md/0 294G 129M 279G 1% /vol2

Nonetheless,

# mdadm --detail /dev/md0
---------------------------------------------
/dev/md0:
Version : 00.90.03
Creation Time : Sat Feb 17 22:17:21 2007
Raid Level : raid0
Array Size : 312576512 (298.10 GiB 320.08 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat Feb 17 22:17:21 2007
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Chunk Size : 128K

UUID : 5f79d056:a18f016b:5125e750:9565ed9f
Events : 0.1

Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
---------------------------------------------

Can anyone shed some light on any of this? One question I have is how is mdadm supposed to bring up the array in the first place (how is the array detected)?

Peter

Last edited by mr_scary; 02-18-2007 at 12:24 AM.
 
  


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
Some advice with software raid on an old server? Guttorm Debian 2 07-11-2006 04:38 AM
Will a ex - Software Raid 1 disk boot without Raid software? carlosruiz Linux - Software 0 05-27-2006 01:12 PM
IDE RAID adapter solution? Slipstream2006 Linux - Hardware 6 05-02-2006 03:44 PM
Need advice on Backup solution imsam Linux - Enterprise 3 11-06-2004 12:07 PM
Storeage Solution need advice. sarah_t_s Linux - Software 2 03-22-2004 11:51 PM

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

All times are GMT -5. The time now is 04:19 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
Open Source Consulting | Domain Registration