LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-26-2010, 05:46 PM   #1
Rickead2000
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Rep: Reputation: 15
Strange Cent OS 5 behaviour on failed software raid device


Hi,

I've got a simple software RAID1 configuration (2x250gb disks) running on Centos 5 where one of the devices appears to have failed.

Whilst the system is continuing to run, the ext3 filesystem on the raid device has been placed into read-only mode. Is this normal behaviour? As one of the devices is still operational I can't see why this should have happened. Can anyone explain what may have caused the OS to do this?

Output from /proc/mdstat is:-

Code:
Personalities : [raid1] 
md1 : active raid1 sdb2[2](F) sda2[0]
      16386176 blocks [2/1] [U_]
      
md0 : active raid1 sdb1[1] sda1[2](F)
      227753408 blocks [2/1] [_U]
Output from mdadm --detail /dev/md0 is:-

Code:
/dev/md0:
        Version : 0.90
  Creation Time : Tue Apr 20 18:20:16 2010
     Raid Level : raid1
     Array Size : 227753408 (217.20 GiB 233.22 GB)
  Used Dev Size : 227753408 (217.20 GiB 233.22 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sun Oct 24 04:22:01 2010
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 1
  Spare Devices : 0

           UUID : a6b83643:464171e0:476dc2f4:af1f75d0
         Events : 0.3904734

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       1       8       17        1      active sync   /dev/sdb1

       2       8        1        -      faulty spare   /dev/sda1
Thanks
 
Old 10-26-2010, 05:52 PM   #2
Rickead2000
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Added info....

The problem must have started on 1st Oct as this is in the /var/log/messages (last output there was)

Oct 1 18:33:58 ndb2 smartd[2932]: Device: /dev/sda, 23 Currently unreadable (pending) sectors
Oct 1 18:33:58 ndb2 smartd[2932]: Device: /dev/sdb, 5 Currently unreadable (pending) sectors
Oct 1 19:03:59 ndb2 smartd[2932]: Device: /dev/sda, 23 Currently unreadable (pending) sectors
Oct 1 19:03:59 ndb2 smartd[2932]: Device: /dev/sdb, 5 Currently unreadable (pending) sectors
Oct 1 19:33:59 ndb2 smartd[2932]: Device: /dev/sda, 23 Currently unreadable (pending) sectors
Oct 1 19:33:59 ndb2 smartd[2932]: Device: /dev/sdb, 5 Currently unreadable (pending) sectors
Oct 1 20:03:58 ndb2 smartd[2932]: Device: /dev/sda, 23 Currently unreadable (pending) sectors
Oct 1 20:03:58 ndb2 smartd[2932]: Device: /dev/sdb, 5 Currently unreadable (pending) sectors
Oct 1 20:34:00 ndb2 smartd[2932]: Device: /dev/sda, 23 Currently unreadable (pending) sectors
Oct 1 20:34:00 ndb2 smartd[2932]: Device: /dev/sdb, 5 Currently unreadable (pending) sectors

Surely both drives can't have failed? And that doesn't tally with the mdadm output which suggests there is only 1 drive faulty

Last edited by Rickead2000; 10-26-2010 at 05:53 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATA softreset failed (device not ready), now slow RAID scribble Linux - General 1 09-10-2010 03:48 PM
Software Raid 1 Cent OS 5.3 Help. antidelldude Linux - Server 1 09-16-2009 03:34 AM
Opensuse 11 software RAID 5 failed: how to recover ? laufandreas Linux - Server 3 06-30-2009 04:51 AM
Software Raid - recreate failed disk. FragInHell Red Hat 5 11-25-2004 04:32 PM


All times are GMT -5. The time now is 01:51 AM.

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