linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raid 5 crashed
@ 2016-05-10 21:28 bobzer
  2016-05-11 12:09 ` Mikael Abrahamsson
  2016-05-11 13:15 ` Robin Hill
  0 siblings, 2 replies; 27+ messages in thread
From: bobzer @ 2016-05-10 21:28 UTC (permalink / raw)
  To: linux-raid

hi everyone,

I'm in panic mode :-( because i got a raid 5 with 4 disk but 2 removed
yesterday i got a power outage which removed one disk. the disks
sd[bcd]1 was ok and saying that sde1 is removed but sde1 said that
everything is fine.
so i stop the raid, zero the superblock of sde1, start the raid and
add sde1 to the raid. then it start to reconstruct, i think it had
time to finish before this problem (i'm not 100% sure that it finish
but i think so)
the data was accessible so i went to sleep
today i discovered the raid in this state :

root@serveur:/home/math# mdadm -D /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Sun Mar  4 22:49:14 2012
     Raid Level : raid5
     Array Size : 5860532352 (5589.04 GiB 6001.19 GB)
  Used Dev Size : 1953510784 (1863.01 GiB 2000.40 GB)
   Raid Devices : 4
  Total Devices : 4
    Persistence : Superblock is persistent

    Update Time : Fri May  6 17:44:02 2016
          State : clean, FAILED
 Active Devices : 2
Working Devices : 3
 Failed Devices : 1
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 128K

           Name : debian:0
           UUID : bf3c605b:9699aa55:d45119a2:7ba58d56
         Events : 892482

    Number   Major   Minor   RaidDevice State
       3       8       33        0      active sync   /dev/sdc1
       1       8       49        1      active sync   /dev/sdd1
       4       0        0        4      removed
       6       0        0        6      removed

       4       8       17        -      faulty   /dev/sdb1
       5       8       65        -      spare   /dev/sde1


root@serveur:/home/math# mdadm --examine /dev/sdb1
/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : bf3c605b:9699aa55:d45119a2:7ba58d56
           Name : debian:0
  Creation Time : Sun Mar  4 22:49:14 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3907021954 (1863.01 GiB 2000.40 GB)
     Array Size : 5860532352 (5589.04 GiB 6001.19 GB)
  Used Dev Size : 3907021568 (1863.01 GiB 2000.40 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1960 sectors, after=386 sectors
          State : clean
    Device UUID : 9bececcb:d520ca38:fd88d956:5718e361

    Update Time : Fri May  6 02:07:00 2016
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : dc2a133a - correct
         Events : 892215

         Layout : left-symmetric
     Chunk Size : 128K

   Device Role : Active device 2
   Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)


root@serveur:/home/math# mdadm --examine /dev/sdc1
/dev/sdc1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : bf3c605b:9699aa55:d45119a2:7ba58d56
           Name : debian:0
  Creation Time : Sun Mar  4 22:49:14 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3907021954 (1863.01 GiB 2000.40 GB)
     Array Size : 5860532352 (5589.04 GiB 6001.19 GB)
  Used Dev Size : 3907021568 (1863.01 GiB 2000.40 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1960 sectors, after=386 sectors
          State : clean
    Device UUID : 1ecaf51c:3289a902:7bb71a93:237c68e8

    Update Time : Fri May  6 17:58:27 2016
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : b9d6aa84 - correct
         Events : 892484

         Layout : left-symmetric
     Chunk Size : 128K

   Device Role : Active device 0
   Array State : AA.. ('A' == active, '.' == missing, 'R' == replacing)

root@serveur:/home/math# mdadm --examine /dev/sdd1
/dev/sdd1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : bf3c605b:9699aa55:d45119a2:7ba58d56
           Name : debian:0
  Creation Time : Sun Mar  4 22:49:14 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3907021954 (1863.01 GiB 2000.40 GB)
     Array Size : 5860532352 (5589.04 GiB 6001.19 GB)
  Used Dev Size : 3907021568 (1863.01 GiB 2000.40 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=0 sectors, after=386 sectors
          State : clean
    Device UUID : 406c4cb5:c188e4a9:7ed8be9f:14a49b16

    Update Time : Fri May  6 17:58:27 2016
  Bad Block Log : 512 entries available at offset 2032 sectors
       Checksum : 343f9cd0 - correct
         Events : 892484

         Layout : left-symmetric
     Chunk Size : 128K

   Device Role : Active device 1
   Array State : AA.. ('A' == active, '.' == missing, 'R' == replacing)


root@serveur:/home/math# mdadm --examine /dev/sde1
/dev/sde1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x8
     Array UUID : bf3c605b:9699aa55:d45119a2:7ba58d56
           Name : debian:0
  Creation Time : Sun Mar  4 22:49:14 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 3907025072 (1863.01 GiB 2000.40 GB)
     Array Size : 5860532352 (5589.04 GiB 6001.19 GB)
  Used Dev Size : 3907021568 (1863.01 GiB 2000.40 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1960 sectors, after=3504 sectors
          State : clean
    Device UUID : f2e9c1ec:2852cf21:1a588581:b9f49a8b

    Update Time : Fri May  6 17:58:27 2016
  Bad Block Log : 512 entries available at offset 72 sectors - bad
blocks present.
       Checksum : 3a65b8bc - correct
         Events : 892484

         Layout : left-symmetric
     Chunk Size : 128K

   Device Role : spare
   Array State : AA.. ('A' == active, '.' == missing, 'R' == replacing)



PLEASE help me :-) i don't know what to do so i did nothing to not do
any stupid things
1000 thank you

ps i just saw this, i hope it not mak y case worst
root@serveur:/home/math# cat /etc/mdadm/mdadm.conf
DEVICE /dev/sd[bcd]1
ARRAY /dev/md0 metadata=1.2 name=debian:0
UUID=bf3c605b:9699aa55:d45119a2:7ba58d56

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2016-06-04  2:56 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-10 21:28 raid 5 crashed bobzer
2016-05-11 12:09 ` Mikael Abrahamsson
2016-05-11 13:15 ` Robin Hill
2016-05-26  3:06   ` bobzer
2016-05-27 19:19     ` bobzer
2016-05-30 15:01       ` bobzer
2016-05-30 19:04         ` Anthonys Lists
2016-05-30 22:00           ` bobzer
2016-05-31 13:45             ` Phil Turmel
2016-05-31 18:49               ` Wols Lists
2016-06-01  1:48                 ` Brad Campbell
2016-06-01  3:46                   ` Edward Kuns
2016-06-01  4:07                     ` Brad Campbell
2016-06-01  5:23                       ` Edward Kuns
2016-06-01  5:28                         ` Brad Campbell
2016-06-01 15:36                       ` Wols Lists
2016-06-01 23:15                         ` Brad Campbell
2016-06-02  5:52                           ` Mikael Abrahamsson
2016-06-02 14:01                           ` Wols Lists
2016-06-02 15:27                             ` Andreas Klauer
2016-06-03  1:05                             ` Brad Campbell
2016-06-03  7:52                               ` Mikael Abrahamsson
2016-06-03 15:27                                 ` bobzer
2016-06-03 16:31                                   ` Sarah Newman
2016-06-04  2:56                                     ` bobzer
2016-06-01 15:42                   ` Wols Lists
2016-06-01 17:28                     ` Phil Turmel

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).