LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-26-2008, 11:06 PM   #16
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Rep: Reputation: 30

Welcome to LQ
 
Old 07-24-2010, 08:10 AM   #17
hyuga
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
I found this thread while searching for the issue I am having. I think this is relevant to this discussion, but I do not think my problem is the same, because my setup has been running for a while (2+ years) without this problem.

The problem is that one of my RAID1 arrays is missing a partition:

Code:
md1 : active raid1 sda2[2](F) sdb2[1]
      2096384 blocks [2/1] [_U]     

md0 : active raid1 sda1[0] sdb1[1]
      193261824 blocks [2/2] [UU]

Initially I thought the drive was faulty and I just needed to exchange it. I've done this in the past on RAID5 arrays, so I thought it would be a quick swap.

However, I got confused when I checked the drive via smartctl and it passed. I then noticed that the other array for which this drive is part of was running fine.

Array details:
Code:
/dev/md1:
        Version : 00.90.03
  Creation Time : Mon Feb 18 20:37:06 2008
     Raid Level : raid1
     Array Size : 2096384 (2047.59 MiB 2146.70 MB)
  Used Dev Size : 2096384 (2047.59 MiB 2146.70 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Sat Jul 24 07:59:30 2010
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 1
  Spare Devices : 0

           UUID : d38ea776:cc395188:202c2b67:ab334dc5
         Events : 0.1060

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       1       8       18        1      active sync   /dev/sdb2

       2       8        2        -      faulty spare   /dev/sda2

Is this the same issue or at least related?
 
Old 07-25-2010, 07:57 AM   #18
hyuga
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
After backing up essential file as a precaution, I performed a remove of sda2 from md1. Then I readded it back to the array and it promptly recovered! Still not sure why it was marked as faulty, but this seems to have fixed it.
 
  


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
mdadm assemble weirdness with partitionable RAID0 Schneckl Linux - Software 0 08-28-2007 05:45 PM
mdadm error creating raid1 Ezplan Fedora 7 07-26-2007 10:35 AM
Software RAID1 with mdadm bujecas Debian 0 10-26-2006 09:56 AM
Problems with setting up raid1 with mdadm on slackware kikola Slackware 0 08-21-2006 05:29 AM
raid1 using mdadm? help plz akadidm Linux - Hardware 3 06-09-2005 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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