LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-22-2006, 12:41 PM   #1
Mr. Spencer
LQ Newbie
 
Registered: May 2004
Location: Netherlands
Distribution: Suse 10.0, Slackware 10.2
Posts: 19

Rep: Reputation: 0
RAID 0+1: possible with Suse 10.0?


Greetings all.

I don't consider myself a newbie, since I've been using Suse since 8.2. More an amateur. That said, I do need a bit of help and no amount of searching has helped out.

First off, the setup:

ASUS K8N-E Deluxe with an AMD64 2800+ processor
1 40 GB ATA HD, used to install the OS on
2 160 GB Hitachi SATA drives
2 160 GB WD SATA drives

I've got Win XP Pro installed on the 40 GB drive a few days ago, since I'm planning on installing Suse, Slackware and FreeBSD and I've had problems in the past with getting GRUB and LiLo working correctly. So, I'm planning on using Acronis OS Selector, which has never let me down.

Now, the machine was a Suse-only machine till recently, with the WD drives, in RAID 0. After a perceived hd crash, I installed the Hitachis, in RAID 1. However, the crash wasn't due to hardware problems but due to the powerconnector to one of the drives coming loose.

Now, having had problems with ReiserFS in the past, I decided to go with Ext3 and try to build a RAID 0+1 setup, since I've got enough drives for it and finally try and use a few install dvd's I've got lying around. One thing I did notice was that both WD's show up as having only 149 GB while the Hitachis have 153.3 GB

Problem is, SUSE 10.0 only offers up RAID 0,1 or 5. I can setup the Hitachis as RAID 0, pointing to /home, as md0. I want to set up the WD to mirror the Hitachis. They'll show up as md1 but nowhere do I find any reference on how to set it up.

The Hitachis are attached to the Nvidia Nforce 3 connectors which allow RAID 0/1/0+1/JBOD. The WD are connected to 2 of the 4 Sil 3114 connectors (RAID 0/1/10/5/JBOD).

Is there a way to set it up? Do I need some extra software? Do I need to compile a kernel? Or do I need some piece of hardware to get it set up?

TIA for the help.
 
Old 04-22-2006, 11:30 PM   #2
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
I would think you could set up the mirrors using Yast. Then Yast will only 'see' two drives, MD0 and MD1 so you could then stripe them. As for the size discrepency, WD has more built in overhead. When you create the mirrors, make sure that all four drives have the same block size.

You could also spend major money for a hardware pci raid card.

I haven't actually done this, but it sounds like an interesting scenerio I'll have to give it a try.
 
Old 04-22-2006, 11:52 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Raid will work best if you only use the Master connection, so you may want to pick up another ide controller. Even on board ide raid is still software raid, so investing in a ide-raid controller may not effect performance as you might expect. Using just 2 160 GB drives, you should just use mirroring.

SuSE uses mdadm by default. You don't want to use raidtools if you already have a raid array set up. The /etc/init.d/boot.md first checks for mdadm.conf. If it finds it, the /etc/raidtab test is bypassed in an elseif.
Code:
        if test -f /etc/mdadm.conf -a -x /sbin/mdadm ; then
            echo "Initializing Multiple Devices..."
            /sbin/mdadm --assemble --scan
        elif test -f /etc/raidtab -a -x /sbin/raid0run ; then
            echo "Initializing Multiple Devices..."
            /sbin/raid0run -a
            if test -x /sbin/raidstart ; then
                /sbin/raidstart -a
            fi
        elif test -f /etc/mdtab -a -x /sbin/mdadd ; then
...
One other thing worth noting, is that a newer version of mdadm will work with raid10 types directly, instead of having to build it in two steps, but the YaST scripts may not do it this way. However if you create your /etc/mdadm.conf file manually, this may help. Don't bother upgrading from 9.3 to 10.0 on this account either, because SuSE 10.0 doesn't use the version I mentioned. I don't know what SuSE 10.1 will use.

Last edited by jschiwal; 04-22-2006 at 11:55 PM.
 
  


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
SUSE RAID help Linux_Kidd SUSE / openSUSE 3 01-27-2006 01:31 PM
RAID in suse!! ade336 Linux - Networking 1 12-07-2005 06:59 PM
Suse 9.1 w/ Raid froze Linux - Hardware 0 07-05-2004 10:01 PM
SuSE 8.1 and RAID KillerFry Linux - General 0 08-07-2003 03:03 PM
RAID for SuSE 8.2 gabebster Linux - Hardware 1 07-16-2003 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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