[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/md0 don't start after controller change



On 12/7/06, martin f krafft <madduck@debian.org> wrote:
also sprach Andrea Ganduglia <nonews.org@gmail.com> [2006.12.07.1249 +0400]:
> md0 : active raid1 sda1[0] sdb1[1]
>      29294400 blocks [5/2] [UU___]

I am led to believe that there must be some outdated information in
the superblocks. Can you please post the output of

  mdadm -E /dev/sd[acde]1

, or even better: compare the output of [cde] to the output of [a]
and tell me any divergencies you see.

Martin: thanks for all you do! I agree that the problem is in superblocks
information. I lauched your command on all disk and I report below
divergencies. As you see /dev/sd{c,d,e,f}1 look all active devices on /dev/md0,
instead /dev/sd{a,b}1 look only two devices at same raid.

Summary:
/dev/sd{a,b}1 looks 2 working devices and 3 failed devices
/dev/sd{c,d,e}1 looks 5 working devices and 0 failed devices
/dev/sdf1 looks 5 working devices, 1 spare device (/dev/sdd) and 0
failed devices

How can I fix superblocks informations? Consider that /dev/md0 is mounted on
root partitions (/).


~# mdadm -E /dev/sda1 (same result for /dev/sdb1)
/dev/sda1:
         Magic : a92b4efc
       Version : 00.90.00
          UUID : fc7dc246:3f029459:8ede4b05:519a9a8f
 Creation Time : Mon Sep 18 15:42:25 2006
    Raid Level : raid1
  Raid Devices : 5
 Total Devices : 2
Preferred Minor : 0

   Update Time : Thu Dec  7 11:15:25 2006
         State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 3
 Spare Devices : 0
      Checksum : 51812ec0 - correct
        Events : 0.756669


     Number   Major   Minor   RaidDevice State
this     0       8        1        0      active sync   /dev/sda1

  0     0       8        1        0      active sync   /dev/sda1
  1     1       8       17        1      active sync   /dev/sdb1
  2     2       0        0        2      faulty removed
  3     3       0        0        3      faulty removed
  4     4       0        0        4      faulty removed

:~# mdadm -E /dev/sdc1 (same result for sdd1 and sde1)
/dev/sdc1:
         Magic : a92b4efc
       Version : 00.90.00
          UUID : fc7dc246:3f029459:8ede4b05:519a9a8f
 Creation Time : Mon Sep 18 15:42:25 2006
    Raid Level : raid1
  Raid Devices : 5
 Total Devices : 5
Preferred Minor : 0

   Update Time : Tue Dec  5 12:38:11 2006
         State : clean
Active Devices : 5
Working Devices : 5
Failed Devices : 0
 Spare Devices : 0
      Checksum : 517e38ba - correct
        Events : 0.743457


     Number   Major   Minor   RaidDevice State
this     2       8       33        2      active sync   /dev/sdc1

  0     0       8        1        0      active sync   /dev/sda1
  1     1       8       17        1      active sync   /dev/sdb1
  2     2       8       33        2      active sync   /dev/sdc1
  3     3       8       65        3      active sync   /dev/sde1
  4     4       8       49        4      active sync   /dev/sdd1

~# mdadm -E /dev/sdf1 (NOTE: It looks /dev/sdd as sparedisk, It's
congruent with my installation).
/dev/sdf1:
         Magic : a92b4efc
       Version : 00.90.00
          UUID : fc7dc246:3f029459:8ede4b05:519a9a8f
 Creation Time : Mon Sep 18 15:42:25 2006
    Raid Level : raid1
  Raid Devices : 5
 Total Devices : 6
Preferred Minor : 0

   Update Time : Mon Dec  4 15:37:57 2006
         State : clean
Active Devices : 5
Working Devices : 6
Failed Devices : 0
 Spare Devices : 1
      Checksum : 517cd246 - correct
        Events : 0.735306


     Number   Major   Minor   RaidDevice State
this     3       8       81        3      active sync   /dev/sdf1

  0     0       8        1        0      active sync   /dev/sda1
  1     1       8       17        1      active sync   /dev/sdb1
  2     2       8       33        2      active sync   /dev/sdc1
  3     3       8       81        3      active sync   /dev/sdf1
  4     4       8       65        4      active sync   /dev/sde1
  5     5       8       49        5      spare   /dev/sdd1

--
Openclose.it - Idee per il software libero
http://www.openclose.it



Reply to: