All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathias Burén" <mathias.buren@gmail.com>
To: lists@xunil.at
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: RAID1, changed disk, 2nd has errors ...
Date: Fri, 26 Aug 2011 13:01:51 +0100	[thread overview]
Message-ID: <CADNH=7HMgJ9+wCEH5i03L6UmQw2xnMopnx09z8W0nU-q6_0Dig@mail.gmail.com> (raw)
In-Reply-To: <4E5787A1.7080807@xunil.at>

On 26 August 2011 12:46, Stefan G. Weichinger <lists@xunil.at> wrote:
>
> Please help:
>
> Today I removed a defective hdd out of a RAID1-array and swapped in a
> new hdd instead.
>
> 3 arrays, to be true, md[012]
>
> 0 and 1 synced fine, in the process of syncing md2 the old sda threw
> errors (in sda4):
>
> md/raid1:md2: sda: unrecoverable I/O read error for block 643686144
> md: md2: recovery done.
>
> [...]
>
> md/raid1:md2: sda: unrecoverable I/O read error for block 643686272
>
> ----
>
> Did the system stop syncing or is "recovery done" the indication that
> md2 was fully recovered BEFORE the system threw sda4 out of the array??
>
> I hope for the second!
>
> See:
>
> # mdadm -D /dev/md2
> /dev/md2:
>        Version : 0.90
>  Creation Time : Thu Feb 11 19:40:11 2010
>     Raid Level : raid1
>     Array Size : 962454080 (917.87 GiB 985.55 GB)
>  Used Dev Size : 962454080 (917.87 GiB 985.55 GB)
>   Raid Devices : 2
>  Total Devices : 2
> Preferred Minor : 2
>    Persistence : Superblock is persistent
>
>    Update Time : Fri Aug 26 13:40:55 2011
>          State : clean, degraded
>  Active Devices : 1
> Working Devices : 2
>  Failed Devices : 0
>  Spare Devices : 1
>
>           UUID : 0ee7bbc7:fc6b0172:d195d856:5f94e963
>         Events : 0.1833443
>
>    Number   Major   Minor   RaidDevice State
>       0       8        4        0      active sync   /dev/sda4
>       1       0        0        1      removed
>
>       2       8       20        -      spare   /dev/sdb4
>
> # cat /proc/mdstat
> Personalities : [raid1]
> md1 : active raid1 sdb3[1] sda3[0]
>      13679232 blocks [2/2] [UU]
>
> md2 : active raid1 sdb4[2](S) sda4[0]
>      962454080 blocks [2/1] [U_]
>
> md0 : active raid1 sdb1[1] sda1[0]
>      128384 blocks [2/2] [UU]
>
> unused devices: <none>
>
> ----
>
> The system seems to work OK, md2 which is a PV in a LVM-volumegroup is
> there, etc
>
> I just wonder if should somehow re-add sda4 or not touch a thing until I
> have a new hdd at hand??
>
> Can/should I somehow test the integrity of md2?
>
> Pls help me to relax in this case ...
>
> btw:
>
> Linux version 2.6.36-gentoo-r5
> mdadm-3.1.4
>
> Thanks in advance, Stefan!
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Hm,

Could you perhaps post the output of "smartctl -a /dev/sda" (and sdb
for completeness sake) here? You can find smartctl in the
smartmontools package.

/Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-08-26 12:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 11:46 RAID1, changed disk, 2nd has errors Stefan G. Weichinger
2011-08-26 12:01 ` Mathias Burén [this message]
2011-08-26 12:19   ` Stefan G. Weichinger
2011-08-26 12:44     ` Stefan G. Weichinger
2011-08-26 20:00     ` Mathias Burén
2011-08-26 22:12       ` Stefan G. Weichinger
2011-08-26 12:56 ` Robin Hill
2011-08-26 13:51   ` Stefan G. Weichinger
2011-08-26 14:08     ` Robin Hill
2011-08-26 15:41       ` Stefan G. Weichinger
2011-08-29  7:02         ` Stefan G. Weichinger
2011-08-29  7:45           ` Stefan G. Weichinger
2011-08-29  7:51             ` Mathias Burén
2011-08-29  8:00               ` Stefan G. Weichinger
2011-08-29  8:25                 ` Stefan G. Weichinger
2011-08-29 14:34                   ` (solved) " Stefan G. Weichinger
2011-08-29 23:40                     ` Mathias Burén
2011-08-30 12:14                       ` Stefan G. Weichinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADNH=7HMgJ9+wCEH5i03L6UmQw2xnMopnx09z8W0nU-q6_0Dig@mail.gmail.com' \
    --to=mathias.buren@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=lists@xunil.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.