LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-13-2010, 11:56 AM   #1
karo_heart
LQ Newbie
 
Registered: Nov 2010
Location: Berlin
Distribution: Red Hat Enterprise Linux 6
Posts: 4

Rep: Reputation: 0
Red Hat Enterprise Linux 6 Client Raid config with mdadm


Hi,

I have install Red Hat Enterprise Linux 6 Client yesterday. The first thing I have received is, that on the install-process with anaconda the raid-configuration-assistant crashes...3 times. So, I choose raid-configuration later and install RHEL6-Client.

Ok, after the reboot I configured software-raid with mdadm, and add later a spare device. I have wrote this into my mdadm.conf.

After reboot, the spare device is not listet with:

mdadm --detail /dev/md0

Code:
/dev/md0:
        Version : 1.2
  Creation Time : Fri Nov 12 12:26:06 2010
     Raid Level : raid5
     Array Size : 488391680 (465.77 GiB 500.11 GB)
  Used Dev Size : 244195840 (232.88 GiB 250.06 GB)
   Raid Devices : 3
  Total Devices : 3
    Persistence : Superblock is persistent

    Update Time : Sat Nov 13 18:36:51 2010
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 512K

           Name : yourmum.homeunix:0  (local to host yourmum.homeunix)
           UUID : c3564e56:d448ad99:9e6e7d3c:3a8536e3
         Events : 37

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       1       8       49        1      active sync   /dev/sdd1
       3       8       65        2      active sync   /dev/sde1
/etc/mdadm.conf

Code:
ARRAY /dev/md/yourmum.homeunix:0 level=raid5 num-devices=4 metadata=1.2 spares=1 name=yourmum.homeunix:0 UUID=c3564e56:d448ad99:9e6e7d3c:3a8536e3
   devices=/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1
/dev/sdf1 is my spare device....

What is the problem with the spare??? I have rebuild and test this 4 times, nothing change...

Regards

karo_hearth
 
Old 11-14-2010, 04:46 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

it looks like the spare disk was not correctly added to the raid. What version of mdadm you are using?
 
Old 11-14-2010, 11:54 AM   #3
karo_heart
LQ Newbie
 
Registered: Nov 2010
Location: Berlin
Distribution: Red Hat Enterprise Linux 6
Posts: 4

Original Poster
Rep: Reputation: 0
1.2

you see it on the output...
 
  


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
Red Hat Enterprise Linux 6 x64 Client closed-source software karo_heart Red Hat 3 11-14-2010 12:26 PM
2 boot error on Red Hat Enterprise Linux 5.3 desktop client vipul_patel Linux - General 1 12-18-2009 03:56 PM
to configure RAID 1 on Red hat Enterprise Linux after installation of operating syste narender1762 Linux - Newbie 9 11-17-2009 05:31 PM
Software RAID in Red Hat Linux Enterprise 4 DataSheet Linux - Enterprise 4 04-24-2006 02:03 PM
Red Hat Enterprise 3 AS Binds Config Different louisb Linux - Enterprise 2 02-14-2005 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:48 AM.

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