LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-22-2005, 12:38 PM   #1
khooke
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Adding additional drive to make a RAID 1 config


I have an IDE RAID controller card (SiL 680) in my server and 1 40GB drive, and currently no RAID config. The machine is running Fedora Core 4.

If I add an additional identical hard drive and set up a RAID 1 configuration in the BIOS settings, mirroring the existing drive to the other, what are the implications for the existing linux install on this machine?

As the config is controlled by the hardware card will there be any additional config needed for linux to work with this arrangement, and is this a good idea (rather than doing a fresh install?)

Thanks!

Last edited by khooke; 09-22-2005 at 12:55 PM.
 
Old 09-23-2005, 10:04 AM   #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,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
From my very limited experience on Linux RAID stuff I'd say probably best to reinstall especially if you're changing it at the firmware leve.

My reasoning is that you layout the filesystem on the raid devices. In the Linux HW raid I've seen the device is actually seen as if it were one drive so it suggests the device you have now would go away in favor of the "new" one presented by the firmware. If they are both /dev/hda then it seems likely you'd have an issue.

On the Software RAID which I've seen it actually uses the existing devices and creates a metadevice so it MIGHT work but here again since one mounts the meta device I suspect it lays out the filesystem on top of that.

Notes I wrote myself a couple of weeks ago on the software RAID:

Did research on /dev/md* devices seen on server. These are software
RAID1 (mirror) devices. fdisk doesn't work on them. Found info that
indicates they are described in /etc/raidtab. Man pages regarding
mkraid, raidstart & raidstop exist. Also found good post talking about
this:
http://www.linuxquestions.org/questi...hreadid=352756
Original question there talks about mdadm but no such command here.
Maybe it is something in newer versions of the raid stuff but it doesn't
seem necessary based on my read of the post and the man pages.

The raidtab on above system contains:
raiddev /dev/md3
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sda5
raid-disk 0
device /dev/sdb5
raid-disk 1
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sda1
raid-disk 0
device /dev/sdb1
raid-disk 1
raiddev /dev/md2
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sda3
raid-disk 0
device /dev/sdb3
raid-disk 1
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/sda2
raid-disk 0
device /dev/sdb2
raid-disk 1

On HP-UX systems we use MirrorDisk/UX which does allow us to add a second drive after the initial install but as stated I don't think it works that way on Linux. Since you're considering reloading anyway you might want to go ahead and take a backup then try it without reload - if it doesn't work you can then do the reload then restore the backup.
 
Old 09-25-2005, 12:39 AM   #3
khooke
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, thanks for the advice. If I go ahead and do it I'll try to reinstall onto the new RAID config.

Thanks,Kevin
 
  


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
Adding additional drives/resizing drives in RAID arrays kheldar Linux - Hardware 1 10-19-2005 01:21 PM
Adding an additional Navigation row? Poetics LQ Suggestions & Feedback 5 05-20-2004 02:30 AM
Adding ide drive to existing raid 5 help koj333 Linux - Hardware 3 09-28-2003 12:28 PM
Adding Additional HD With Raid Present LeeForkenbrock Linux - Hardware 2 07-23-2003 04:43 PM
Adding Additional Network Cards CRF Linux - Networking 4 06-05-2001 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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