Fedora Linux Support Community & Resources Center
  #1  
Old 2nd April 2007, 01:49 PM
HaMBoNE79 Offline
Registered User
 
Join Date: Nov 2004
Location: Cartersville, GA
Age: 33
Posts: 214
Problems migrating to hardware RAID

To start out with, I have a fileserver running FC6 that is made up of the following hardware:

Asus A7N8X-E mobo
3GB of 184-pin PC3200 DDR RAM
2 180GB WD ATA HDs in a software based RAID-1
NVidia 440MX Video Card

This setup has served me well for 2 years but due to an increased number of users, I am starting to get an increase in CPU overhead with the software based RAID. Because of this I have ordered a set of WD 250GB SATA drives in an attempt to make use of the RAID-1 feature on the onboard Silicone Image 3112 controller.

Over the weekend I booted the server from a Knoppix CD and attempted to begin setting things up. I started out by connecting only one SATA drive and booting from the CD. When I got into Knoppix I copied all the data from my ATA RAID to the SATA hard drive using cpio (dd wouldn't cooperate with me). After I verified that all the data was copied to the disk, I rebooted and used the RAID configuration tool on the motherboard to clone the first SATA drive onto the second SATA drive and then put both drives into a RAID-1. At this point I booted from the Knoppix CD again and was very surprised to see that Knoppix recognized the RAID and loaded the appropriate sata_sil driver. Once I got into the Knoppix destkop I reloaded GRUB and modified the fstab file to point to the new RAID device.

And this is where the %&*! hit the fan. After I got GRUB reloaded on the RAID I rebooted and attempted to boot off the new RAID. Everything was going fine when I booted up...Grub loaded with no problems, the kernel began to load without errors, then BAM!...a kernel panic. By looking at the error messages that were spit out, it appeared that the kernel could not locate some of the system files. It complained that it couldn't find the filesystem "/dev/root" and that "setuproot: moving /dev/ failed" (it also gave this message for sys and proc).

When this happened I just figured that the proper driver wasn't loading at bootup and that the kernel couldn't see the RAID. To remedy this, I made a new initrd using mkinitrd and told it to preload scsi_mod, sata_sil, sd_mod, libata, and ext3. I then rebooted the computer and was able to get a bit further. Instead of complaining that it couldn't find "/dev/root" it complained that it couldn't find the resume device at "/dev/mapper/sil_xxxx2" which is the swap partition on the RAID, but it still complained about /dev, /sys, and /proc.

Right now I'm totally stumped as to what to try next. It appears that GRUB and fstab are setup correctly on the new RAID, but for some reason that kernel can't find any of the filesystems. Can anyone help me out with this?
Reply With Quote
  #2  
Old 2nd April 2007, 02:35 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
Quote:
Originally Posted by HaMBoNE79
This setup has served me well for 2 years but due to an increased number of users, I am starting to get an increase in CPU overhead with the software based RAID. Because of this I have ordered a set of WD 250GB SATA drives in an attempt to make use of the RAID-1 feature on the onboard Silicone Image 3112 controller.
That's not hardware RAID, just another type of software RAID.
http://linux-ata.org/faq-sata-raid.html#sii
sata_sil is the regular SATA driver for Silicon Image chips without any RAID support. You can use the dmraid driver to access the software RAID array created in BIOS, but there's no advantage in performance or CPU overhead over the native Linux software drivers.

Last edited by markkuk; 2nd April 2007 at 02:39 PM.
Reply With Quote
  #3  
Old 2nd April 2007, 04:21 PM
HaMBoNE79 Offline
Registered User
 
Join Date: Nov 2004
Location: Cartersville, GA
Age: 33
Posts: 214
Quote:
Originally Posted by markkuk
That's not hardware RAID, just another type of software RAID.
http://linux-ata.org/faq-sata-raid.html#sii
sata_sil is the regular SATA driver for Silicon Image chips without any RAID support. You can use the dmraid driver to access the software RAID array created in BIOS, but there's no advantage in performance or CPU overhead over the native Linux software drivers.
Man that sucks! I guess the only real advantage I will have is the ability to hot swap drives when one fails.

Anyway, thanks for the info on dmraid. I will try giving that a shot tonight when everyone is off the server. I guess all I need to do is pass the "dodmraid" option to the kernel at boot time?
Reply With Quote
  #4  
Old 2nd April 2007, 09:03 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,769
I'd be even skeptical about hot swapping drives actually working. The only thing for sure is that when a drive fails, the data on the good drive will still be there. It may require some manual intervention to get it re-mirrored on a new drive though.
Reply With Quote
  #5  
Old 3rd April 2007, 01:40 AM
lazlow Offline
Registered User
 
Join Date: Aug 2005
Posts: 3,172
Most of the sub $300 raid controllers you see are software or fake riad. 3ware and rocket raid have been mentioned a lot as good linux hardware raid cards. Most (if not all) of the promise controllers are software or fake raid.
Reply With Quote
  #6  
Old 3rd April 2007, 03:56 PM
pjfg
Guest
 
Posts: n/a
Actually, you can't even do raid1 with dmraid on the Silicon image 311x. I have a 3114 (4 ports, same chipset) and dmraid will only recognise raid0. I had to fall back on linux software raid1 created from 2 concats in the 3114 bios.
Reply With Quote
  #7  
Old 3rd April 2007, 11:14 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,769
If dmraid isn't working with mirroring on your card you should post the info to Heinz M., the maintainer of dmraid on the mailing list ataraid-list@redhat.com
Reply With Quote
Reply

Tags
hardware, migrating, problems, raid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning and Migrating F9 partitions to new hardware - boot failure fashionhat Installation and Live Media 2 24th August 2008 05:21 PM
software raid -- migrating to a new disk mdschiller Using Fedora 0 13th April 2008 06:26 PM


Current GMT-time: 00:16 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat