All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Eddington <chrise@synplicity.com>
To: linux-raid@vger.kernel.org
Subject: Raid5 assemble after dual sata port failure
Date: Wed, 07 Nov 2007 12:28:15 -0800	[thread overview]
Message-ID: <47321FDF.8060207@synplicity.com> (raw)


Hi,

While on vacation I had one SATA port/cable fail, and then four hours 
later a second one fail.  After fixing/moving the SATA ports, I can 
reboot and all drives seem to be OK now, but when assembled it won't 
recognize the filesystem.  After futzing around with assemble options 
like --force and disk order I couldn't get it to work.

Appreciate if someone can provide pointers on how to proceed.  Here's 
the latest state of the array.  My log shows that /dev/sdc1 failed first 
and I'm using mdadm v2.5.6 on Ubuntu Linux.

Thanks much,
Chris

mdadm -Av /dev/md0
mdadm: looking for devices for /dev/md0
mdadm: /dev/sda1 is identified as a member of /dev/md0, slot 0.
mdadm: /dev/sdb1 is identified as a member of /dev/md0, slot 1.
mdadm: /dev/sdc1 is identified as a member of /dev/md0, slot 3.
mdadm: /dev/sdd1 is identified as a member of /dev/md0, slot 2.
mdadm: added /dev/sdb1 to /dev/md0 as 1
mdadm: added /dev/sdd1 to /dev/md0 as 2
mdadm: added /dev/sdc1 to /dev/md0 as 3
mdadm: added /dev/sda1 to /dev/md0 as 0
mdadm: /dev/md0 has been started with 3 drives (out of 4).

  mdadm -E /dev/sd[a-d]1
/dev/sda1:
          Magic : a92b4efc
        Version : 00.90.03
           UUID : bc74c21c:9655c1c6:ba6cc37a:df870496
  Creation Time : Sun Nov  5 14:25:01 2006
     Raid Level : raid5
    Device Size : 488383936 (465.76 GiB 500.11 GB)
     Array Size : 1465151808 (1397.28 GiB 1500.32 GB)
   Raid Devices : 4
  Total Devices : 3
Preferred Minor : 0

    Update Time : Wed Nov  7 12:02:50 2007
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 1
  Spare Devices : 0
       Checksum : 401c33e0 - correct
         Events : 0.4880374

         Layout : left-symmetric
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     0     254        0        0      active sync   /dev/mapper/sda1

   0     0     254        0        0      active sync   /dev/mapper/sda1
   1     1     254        1        1      active sync   /dev/mapper/sdb1
   2     2     254        2        2      active sync   /dev/mapper/sdd1
   3     3       0        0        3      faulty removed
/dev/sdb1:
          Magic : a92b4efc
        Version : 00.90.03
           UUID : bc74c21c:9655c1c6:ba6cc37a:df870496
  Creation Time : Sun Nov  5 14:25:01 2006
     Raid Level : raid5
    Device Size : 488383936 (465.76 GiB 500.11 GB)
     Array Size : 1465151808 (1397.28 GiB 1500.32 GB)
   Raid Devices : 4
  Total Devices : 3
Preferred Minor : 0

    Update Time : Wed Nov  7 12:02:50 2007
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 1
  Spare Devices : 0
       Checksum : 401c33e3 - correct
         Events : 0.4880374

         Layout : left-symmetric
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     1     254        1        1      active sync   /dev/mapper/sdb1

   0     0     254        0        0      active sync   /dev/mapper/sda1
   1     1     254        1        1      active sync   /dev/mapper/sdb1
   2     2     254        2        2      active sync   /dev/mapper/sdd1
   3     3       0        0        3      faulty removed
/dev/sdc1:
          Magic : a92b4efc
        Version : 00.90.03
           UUID : bc74c21c:9655c1c6:ba6cc37a:df870496
  Creation Time : Sun Nov  5 14:25:01 2006
     Raid Level : raid5
    Device Size : 488383936 (465.76 GiB 500.11 GB)
     Array Size : 1465151808 (1397.28 GiB 1500.32 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0

    Update Time : Mon Nov  5 13:31:00 2007
          State : active
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 3fced5a3 - correct
         Events : 0.4857597

         Layout : left-symmetric
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     3     254        3        3      active sync   /dev/mapper/sdc1

   0     0     254        0        0      active sync   /dev/mapper/sda1
   1     1     254        1        1      active sync   /dev/mapper/sdb1
   2     2     254        2        2      active sync   /dev/mapper/sdd1
   3     3     254        3        3      active sync   /dev/mapper/sdc1
/dev/sdd1:
          Magic : a92b4efc
        Version : 00.90.03
           UUID : bc74c21c:9655c1c6:ba6cc37a:df870496
  Creation Time : Sun Nov  5 14:25:01 2006
     Raid Level : raid5
    Device Size : 488383936 (465.76 GiB 500.11 GB)
     Array Size : 1465151808 (1397.28 GiB 1500.32 GB)
   Raid Devices : 4
  Total Devices : 3
Preferred Minor : 0

    Update Time : Wed Nov  7 12:02:50 2007
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 1
  Spare Devices : 0
       Checksum : 401c33e6 - correct
         Events : 0.4880374

         Layout : left-symmetric
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     2     254        2        2      active sync   /dev/mapper/sdd1

   0     0     254        0        0      active sync   /dev/mapper/sda1
   1     1     254        1        1      active sync   /dev/mapper/sdb1
   2     2     254        2        2      active sync   /dev/mapper/sdd1
   3     3       0        0        3      faulty removed



             reply	other threads:[~2007-11-07 20:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07 20:28 Chris Eddington [this message]
2007-11-08 10:33 ` Raid5 assemble after dual sata port failure David Greaves
2007-11-09 21:23   ` Chris Eddington
2007-11-10  0:28     ` Chris Eddington
2007-11-10  9:16       ` David Greaves
2007-11-10 18:46         ` Chris Eddington
2007-11-11 17:09           ` David Greaves
2007-11-11 17:41             ` Chris Eddington
2007-11-11 22:49               ` David Greaves
2007-11-12  1:01                 ` Bill Davidsen
2007-11-17  6:31                   ` Chris Eddington
2007-11-18 12:25                     ` David Greaves
  -- strict thread matches above, loose matches on Subject: below --
2007-11-07 20:23 chrise

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=47321FDF.8060207@synplicity.com \
    --to=chrise@synplicity.com \
    --cc=linux-raid@vger.kernel.org \
    /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.