LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-31-2009, 03:17 AM   #1
karelc
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
Dell R610 hardware raid 1 configuration


This is a long story, so please bear with me - I am trying to give as much information as possible. I have a Dell R610 and an MD1000 powervault, which is to be used entirely for data storage. The R610 arrived first, so I thought I'd set about installing the OS, CENTOS 5.3. The machine is equipped with twin 146 GB disks. In the PERC configuration, I set it to RAID 1, and then in the CENTOS setup I manually repartitioned the disk with separate partitions for /var, /tmp, /xlog, /boot, /user and / . Install proceeded without a hitch and the machine worked beautifully. Next, the Powervault arrived and I set about configuring it. We have three disks in RAID 0, and four disks in RAID 5 and a hotspare for the RAID 5 partition. After having setup the RAID information in the PERC, I went on to set up the Linux partitions on the LVM, which also went without incident. But I was surprised to see the LVM reporting that there were unitialised partitions on /dev/sde. Further investigations showed that /dev/sde5 is the bootable partition on the R610. The uninitialised partitions are reported as sde1-sde4, and they contain the original partitions as shipped by Dell.

I confess that I was puzzled as to why the bootable device was now a partition on /dev/sde. Of course, I didn't check which /dev device it was before, so maybe it was that all the time, but I'd be surprised.
All seemed to work, however, and when the machine is running I can see the activity lights on both the R610 disks coming on in sync most of the time - I assumed that this is during write processes to mirror the disks as planned. I also assumed that when the disk 0 was lit alone, it was reading and that when disk 1 was lit alone it was somehow having to catch up with disk 0.

This morning I decided to test the mirroring and I deliberately pulled disk 0, and I got a message that a disk was missing and that I could press any key to continue, which I did. I was relieved that the machine came up without a hitch. So I powered the machine off, put disk 0 back in and removed disk 1 and then powered On again. The OS did not boot, and got I messages saying that I could retry the boot, import a foreign configuration and other things that I didn't think were a good idea. I powered the machine off again and replaced disk 0, but on reboot I got all the same trouble - it wouldn't boot and it would try to boot from the NIC. I checked the boot sequence, which was as it should be - CDROM, hard disk, NIC. Finally, I examined the BIOS boot device and found that somehow the boot RAID controller had switched from the embedded controller to the additional on for the SAS powervault. I changed those around and retried - the machine booted without any problem, but the error light on disk 0 flashed constantly while that on disk 1 was on solid. The activity lights on both disks were also flashing very rapidly. However, eventually they went off and the error light on disk 0 came on solid.

After all that I thought I'd have a look at the LVM and I see that /dev/sde is still reporting uninitialised partitions. But /dev/sde5 is also reported in the volume group as the boot device with my original partitions. I have obviously not done everything I need to do to set up mirroring, but I can't figure out what it is - can someone please help me? I'd be very grateful!

Thanks,

Karel
 
Old 09-01-2009, 12:37 AM   #2
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Rep: Reputation: 17
First, congrats on getting all that hardware! It took me 6 months from purchase request to receiving to get my R610s.

Quote:
but the error light on disk 0 flashed constantly while that on disk 1 was on solid. The activity lights on both disks were also flashing very rapidly. However, eventually they went off and the error light on disk 0 came on solid.
Upon putting back Disk 0, did you rebuild your RAID? It's a simple step, but since you were so detailed, it seems out of place that you didn't mention the biggest part of the process. Upon booting, either from the BIOS, RAID BIOS, or Dell Open Manage software, you need to rebuild your virtual disk. As far as I've experienced, Dell hardware doesn't automatically resync your RAID.
 
Old 09-01-2009, 03:56 PM   #3
karelc
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Firstly, huge thanks for taking the time to have an interest in helping people with their computer problems. I appreciate it very much.

I confess that it didn't occur to me that I'd need to rebuild a mirrored configuration - I knew I'd probably have to do that for RAID 5, but in my simplistic view of RAID 1 I thought that all data was written to both disks simultaneously and that one disk was an exact copy of the other. I also thought that this was confirmed when I removed disk 0 and the machine was perfect on disk 1 alone, so imagine my horror to discover that it didn't happen when disk 0 was driving the machine on its own. I went into a kernel panic all of my own! At any rate, I now know that even RAID 1 needs to be rebuilt (although I'm not sure how it gets rebuilt - I'll look into that.)

Thanks again for taking the time to read my post and especially for an informative reply.

BTW - I'm sure the supply chain is easier now. I had heard that Dell was having problems shipping units some time ago. My two boxes came within a week!
 
  


Reply

Tags
dell, raid


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
Why doesn't Red Hat Linux 4 ES see my hardware RAID 1 configuration? vincetdc Linux - Newbie 6 05-21-2008 07:49 AM
Dell Latitude D520 - hardware configuration problem janskey *BSD 1 07-13-2006 09:33 AM
Hardware RAID Configuration Causes Linux Not To Boot bper Linux - Hardware 0 04-03-2006 07:53 AM
Dell "CERC" Raid-5 w/CENT OS. Is this true hardware RAID or just an expensive card? fireman949 Linux - Hardware 2 06-24-2005 05:44 PM
Installing Linux on new Dell pc with RAID configuration bcrain Linux - Software 2 08-25-2004 02:45 PM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration