LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-18-2006, 05:19 AM   #1
gsoft
Member
 
Registered: Mar 2004
Distribution: Fedora, Debian
Posts: 41

Rep: Reputation: 15
RAID 1 Degraded Array


I have recently setup a RAID 1 Array, and have found that it is degraded/faulty not sure what this means exactly. What I want to know is how can I get it to be active and sync'ed. here are the details about the array.

cat /proc/mdstat
Code:
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 scsi/host0/bus0/target0/lun0/part1[0]
      240832 blocks [2/1] [U_]

md1 : active raid1 scsi/host0/bus0/target0/lun0/part2[0]
      1951808 blocks [2/1] [U_]

md2 : active raid1 scsi/host0/bus0/target0/lun0/part3[0] scsi/host1/bus0/target0/lun0/part3[1]
      310375680 blocks [2/2] [UU]

unused devices: <none>
mdadm --query --detail /dev/md0
Code:
/dev/md0:
        Version : 00.90.00
  Creation Time : Sat Aug  5 07:27:41 2006
     Raid Level : raid1
     Array Size : 240832 (235.19 MiB 246.61 MB)
    Device Size : 240832 (235.19 MiB 246.61 MB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Fri Aug 18 19:22:57 2006
          State : active, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           UUID : b8aafa16:58eacb39:759f2cd2:f0f9bafe
         Events : 0.53

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       0        0        1      faulty removed
Kernel: 2.4.27-2-386

I only noticed this because I keep getting an email once a day or so about it happening here is the email that is sent.

Code:
Subject: DegradedArray event on /dev/md1:debian

This is an automatically generated mail message from mdadm
running on debian

A DegradedArray event had been detected on md device /dev/md1.
I have been following this tutorial http://www200.pair.com/mecham/raid/raid1.html which has not helped much. Let me know if anymore information is needed.
 
Old 08-18-2006, 08:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well essnetially the second disk on both md0 and md1 is apparently shagged... as you're just on a mirror i would suggest that *IF* you have faith in the hardware, to add the device again using mdadm and let it remirror itself.
 
Old 08-18-2006, 02:17 PM   #3
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
A better reference is the Software Raid HowTo: http://tldp.net/HOWTO/html_single/Software-RAID-HOWTO/

Your question is answered at the end of the “6.3 Simulating a drive failure” section: http://tldp.net/HOWTO/html_single/So...D-HOWTO/#ss6.3

The mdadm manpage has lots of good info, too.
 
  


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
RAID array gone, can't get it working again! 1N4148 Linux - Hardware 6 07-16-2009 04:48 AM
Degraded Array on Software Raid pcinfo-az Linux - Hardware 8 07-03-2008 10:43 AM
Replacing dead drive in degraded RAID-5. Cronjob Linux - Hardware 1 02-22-2006 11:02 PM
Raid Array wwnexc Linux - Hardware 1 09-25-2005 05:47 PM
How to verify Raid 0 array? fclifton Linux - Newbie 2 05-03-2004 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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