linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Reichel <elektranox@gmail.com>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: power outage while raid5->raid6 was in progress
Date: Thu, 8 Jul 2010 01:13:16 +0200	[thread overview]
Message-ID: <20100707231316.GA6496@earth.universe> (raw)
In-Reply-To: <20100708084450.7abb19d8@notabene.brown>

[-- Attachment #1: Type: text/plain, Size: 11704 bytes --]

On Thu, Jul 08, 2010 at 08:44:50AM +1000, Neil Brown wrote:
> On Wed, 7 Jul 2010 22:41:10 +0200
> Sebastian Reichel <elektranox@gmail.com> wrote:
> 
> > Hi,
> > 
> > I have some problems with my raid. I tried updating from 5 disks raid5 to 8 disks
> > raid6 as described on http://neil.brown.name/blog/20090817000931#2. The command I
> > used was: mdadm --grow /dev/md0 --level=6 --raid-disk=8
> > 
> > While the rebuild was in progress my system hung, so I had to force power down it.
> > After rebooting the system I reassembled the raid. You can see the resulting mess
> > below. How can I recover from this state?
> 
> Please report the output of
> 
>   mdadm -E /dev/sd[efghijkl]1
> 
> then I'll see what can be done.

thank you for having a look at it :)

root@mars ~ # mdadm -E /dev/sd[efghijkl]1
/dev/sde1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1eb26ff:0d33b804:1c7aa044:e01dc78c (local to host mars)
  Creation Time : Fri Apr  9 19:24:51 2010
     Raid Level : raid6
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
     Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
   Raid Devices : 6
  Total Devices : 8
Preferred Minor : 0

    Update Time : Wed Jul  7 00:21:00 2010
          State : active
 Active Devices : 5
Working Devices : 8
 Failed Devices : 1
  Spare Devices : 3
       Checksum : 4439feb9 - correct
         Events : 991519

         Layout : left-symmetric-6
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     1       8       65        1      active sync   /dev/sde1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8       65        1      active sync   /dev/sde1
   2     2       8      177        2      active sync   /dev/sdl1
   3     3       8      145        3      active sync   /dev/sdj1
   4     4       8      129        4      active sync   /dev/sdi1
   5     5       0        0        5      faulty removed
   6     6       8       81        6      spare   /dev/sdf1
   7     7       8       97        7      spare   /dev/sdg1
   8     8       8      113        8      spare   /dev/sdh1
/dev/sdf1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1eb26ff:0d33b804:1c7aa044:e01dc78c (local to host mars)
  Creation Time : Fri Apr  9 19:24:51 2010
     Raid Level : raid6
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
     Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
   Raid Devices : 6
  Total Devices : 8
Preferred Minor : 0

    Update Time : Wed Jul  7 00:21:00 2010
          State : active
 Active Devices : 5
Working Devices : 8
 Failed Devices : 1
  Spare Devices : 3
       Checksum : 4439fecd - correct
         Events : 991519

         Layout : left-symmetric-6
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     6       8       81        6      spare   /dev/sdf1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8       65        1      active sync   /dev/sde1
   2     2       8      177        2      active sync   /dev/sdl1
   3     3       8      145        3      active sync   /dev/sdj1
   4     4       8      129        4      active sync   /dev/sdi1
   5     5       0        0        5      faulty removed
   6     6       8       81        6      spare   /dev/sdf1
   7     7       8       97        7      spare   /dev/sdg1
   8     8       8      113        8      spare   /dev/sdh1
/dev/sdg1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1eb26ff:0d33b804:1c7aa044:e01dc78c (local to host mars)
  Creation Time : Fri Apr  9 19:24:51 2010
     Raid Level : raid6
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
     Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
   Raid Devices : 6
  Total Devices : 8
Preferred Minor : 0

    Update Time : Wed Jul  7 00:21:00 2010
          State : active
 Active Devices : 5
Working Devices : 8
 Failed Devices : 1
  Spare Devices : 3
       Checksum : 4439fedf - correct
         Events : 991519

         Layout : left-symmetric-6
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     7       8       97        7      spare   /dev/sdg1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8       65        1      active sync   /dev/sde1
   2     2       8      177        2      active sync   /dev/sdl1
   3     3       8      145        3      active sync   /dev/sdj1
   4     4       8      129        4      active sync   /dev/sdi1
   5     5       0        0        5      faulty removed
   6     6       8       81        6      spare   /dev/sdf1
   7     7       8       97        7      spare   /dev/sdg1
   8     8       8      113        8      spare   /dev/sdh1
/dev/sdh1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1eb26ff:0d33b804:1c7aa044:e01dc78c (local to host mars)
  Creation Time : Fri Apr  9 19:24:51 2010
     Raid Level : raid6
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
     Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
   Raid Devices : 6
  Total Devices : 8
Preferred Minor : 0

    Update Time : Wed Jul  7 00:21:00 2010
          State : active
 Active Devices : 5
Working Devices : 8
 Failed Devices : 1
  Spare Devices : 3
       Checksum : 4439fef1 - correct
         Events : 991519

         Layout : left-symmetric-6
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     8       8      113        8      spare   /dev/sdh1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8       65        1      active sync   /dev/sde1
   2     2       8      177        2      active sync   /dev/sdl1
   3     3       8      145        3      active sync   /dev/sdj1
   4     4       8      129        4      active sync   /dev/sdi1
   5     5       0        0        5      faulty removed
   6     6       8       81        6      spare   /dev/sdf1
   7     7       8       97        7      spare   /dev/sdg1
   8     8       8      113        8      spare   /dev/sdh1
/dev/sdi1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1eb26ff:0d33b804:1c7aa044:e01dc78c (local to host mars)
  Creation Time : Fri Apr  9 19:24:51 2010
     Raid Level : raid6
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
     Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
   Raid Devices : 6
  Total Devices : 8
Preferred Minor : 0

    Update Time : Wed Jul  7 00:21:00 2010
          State : active
 Active Devices : 5
Working Devices : 8
 Failed Devices : 1
  Spare Devices : 3
       Checksum : 4439feff - correct
         Events : 991519

         Layout : left-symmetric-6
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     4       8      129        4      active sync   /dev/sdi1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8       65        1      active sync   /dev/sde1
   2     2       8      177        2      active sync   /dev/sdl1
   3     3       8      145        3      active sync   /dev/sdj1
   4     4       8      129        4      active sync   /dev/sdi1
   5     5       0        0        5      faulty removed
   6     6       8       81        6      spare   /dev/sdf1
   7     7       8       97        7      spare   /dev/sdg1
   8     8       8      113        8      spare   /dev/sdh1
/dev/sdj1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1eb26ff:0d33b804:1c7aa044:e01dc78c (local to host mars)
  Creation Time : Fri Apr  9 19:24:51 2010
     Raid Level : raid6
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
     Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
   Raid Devices : 6
  Total Devices : 8
Preferred Minor : 0

    Update Time : Wed Jul  7 00:21:00 2010
          State : active
 Active Devices : 5
Working Devices : 8
 Failed Devices : 1
  Spare Devices : 3
       Checksum : 4439ff0d - correct
         Events : 991519

         Layout : left-symmetric-6
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     3       8      145        3      active sync   /dev/sdj1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8       65        1      active sync   /dev/sde1
   2     2       8      177        2      active sync   /dev/sdl1
   3     3       8      145        3      active sync   /dev/sdj1
   4     4       8      129        4      active sync   /dev/sdi1
   5     5       0        0        5      faulty removed
   6     6       8       81        6      spare   /dev/sdf1
   7     7       8       97        7      spare   /dev/sdg1
   8     8       8      113        8      spare   /dev/sdh1
/dev/sdk1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1eb26ff:0d33b804:1c7aa044:e01dc78c (local to host mars)
  Creation Time : Fri Apr  9 19:24:51 2010
     Raid Level : raid6
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
     Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
   Raid Devices : 6
  Total Devices : 8
Preferred Minor : 0

    Update Time : Tue Jul  6 23:37:42 2010
          State : clean
 Active Devices : 5
Working Devices : 8
 Failed Devices : 1
  Spare Devices : 3
       Checksum : 4449160f - correct
         Events : 991518

         Layout : left-symmetric-6
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     0       8      161        0      active sync   /dev/sdk1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8       65        1      active sync   /dev/sde1
   2     2       8      177        2      active sync   /dev/sdl1
   3     3       8      145        3      active sync   /dev/sdj1
   4     4       8      129        4      active sync   /dev/sdi1
   5     5       0        0        5      faulty removed
   6     6       8       81        6      spare   /dev/sdf1
   7     7       8       97        7      spare   /dev/sdg1
   8     8       8      113        8      spare   /dev/sdh1
/dev/sdl1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : a1eb26ff:0d33b804:1c7aa044:e01dc78c (local to host mars)
  Creation Time : Fri Apr  9 19:24:51 2010
     Raid Level : raid6
  Used Dev Size : 1465135936 (1397.26 GiB 1500.30 GB)
     Array Size : 5860543744 (5589.05 GiB 6001.20 GB)
   Raid Devices : 6
  Total Devices : 8
Preferred Minor : 0

    Update Time : Wed Jul  7 00:21:00 2010
          State : active
 Active Devices : 5
Working Devices : 8
 Failed Devices : 1
  Spare Devices : 3
       Checksum : 4439ff2b - correct
         Events : 991519

         Layout : left-symmetric-6
     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     2       8      177        2      active sync   /dev/sdl1

   0     0       8      161        0      active sync   /dev/sdk1
   1     1       8       65        1      active sync   /dev/sde1
   2     2       8      177        2      active sync   /dev/sdl1
   3     3       8      145        3      active sync   /dev/sdj1
   4     4       8      129        4      active sync   /dev/sdi1
   5     5       0        0        5      faulty removed
   6     6       8       81        6      spare   /dev/sdf1
   7     7       8       97        7      spare   /dev/sdg1
   8     8       8      113        8      spare   /dev/sdh1

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-07-07 23:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-07 20:41 power outage while raid5->raid6 was in progress Sebastian Reichel
2010-07-07 22:44 ` Neil Brown
2010-07-07 23:13   ` Sebastian Reichel [this message]
2010-07-08  1:21     ` Neil Brown
2010-07-08  8:48       ` Sebastian Reichel
2010-07-08 22:48         ` Neil Brown
2010-07-08 23:50           ` Sebastian Reichel
2010-07-13 22:14           ` Sebastian Reichel

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=20100707231316.GA6496@earth.universe \
    --to=elektranox@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).