Re: Help with corrupted MDADM Raid6

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

 



Hi Neil,

I ran mdadm --examine on the devices (as opposed to the partitions)
and was surprised:
Apparently the superblocks are present on some the devices, even if I
remember differently.
I attached the output of mdadm to this mail.

For the sake of clarity, this is how the raid looked like before it
all went wrong:

11 Drives (/dev/sd[abcdefghijk]) alltogether as a RAID 6.
2 of those are spares (/dev/sd[jk]).
1 is either close to failing of has failed (/dev/sdg).

I tried

mdadm --assemble --run /dev/md0 -v /dev/sd[abcdefghi]

which gave me

mdadm: looking for devices for /dev/md0
mdadm: no RAID superblock on /dev/sdg
mdadm: /dev/sdg has no superblock - assembly aborted

So it seems I somehow have to restore the superblocks on drives
/dev/sd[ghijk], or at least on /dev/sd[ghi].
Is this possible? Any help would be greatly appreciated!

Regards,
-P.
/dev/sda:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 2d18f556:0cbad263:017a87af:aadac8f7
           Name : brain:0  (local to host brain)
  Creation Time : Sun Mar  3 02:34:30 2013
     Raid Level : raid6
   Raid Devices : 9

 Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
     Array Size : 20510947520 (19560.76 GiB 21003.21 GB)
  Used Dev Size : 5860270720 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 205e9ef8:deb77ef0:c1616f65:488ee07b

Internal Bitmap : 8 sectors from superblock
    Update Time : Mon Jun  9 21:52:48 2014
       Checksum : 2b351b38 - correct
         Events : 39295

         Layout : left-symmetric
     Chunk Size : 64K

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

/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 2d18f556:0cbad263:017a87af:aadac8f7
           Name : brain:0  (local to host brain)
  Creation Time : Sun Mar  3 02:34:30 2013
     Raid Level : raid6
   Raid Devices : 9

 Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
     Array Size : 20510947520 (19560.76 GiB 21003.21 GB)
  Used Dev Size : 5860270720 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : f8150037:720c981f:f6a476e2:b98fd23a

Internal Bitmap : 8 sectors from superblock
    Update Time : Mon Jun  9 21:52:48 2014
       Checksum : d4a96c49 - correct
         Events : 39295

         Layout : left-symmetric
     Chunk Size : 64K

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

/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 2d18f556:0cbad263:017a87af:aadac8f7
           Name : brain:0  (local to host brain)
  Creation Time : Sun Mar  3 02:34:30 2013
     Raid Level : raid6
   Raid Devices : 9

 Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
     Array Size : 20510947520 (19560.76 GiB 21003.21 GB)
  Used Dev Size : 5860270720 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 138fa882:0164da5b:5efea797:bddf6041

Internal Bitmap : 8 sectors from superblock
    Update Time : Mon Jun  9 21:52:48 2014
       Checksum : 1853e661 - correct
         Events : 39295

         Layout : left-symmetric
     Chunk Size : 64K

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

/dev/sdd:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 2d18f556:0cbad263:017a87af:aadac8f7
           Name : brain:0  (local to host brain)
  Creation Time : Sun Mar  3 02:34:30 2013
     Raid Level : raid6
   Raid Devices : 9

 Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
     Array Size : 20510947520 (19560.76 GiB 21003.21 GB)
  Used Dev Size : 5860270720 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 96eb8a2f:03191596:5f97190b:60d0967e

Internal Bitmap : 8 sectors from superblock
    Update Time : Mon Jun  9 21:52:48 2014
       Checksum : b018818a - correct
         Events : 39295

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 3
   Array State : AAAAAAAAA ('A' == active, '.' == missing)

/dev/sde:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 2d18f556:0cbad263:017a87af:aadac8f7
           Name : brain:0  (local to host brain)
  Creation Time : Sun Mar  3 02:34:30 2013
     Raid Level : raid6
   Raid Devices : 9

 Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
     Array Size : 20510947520 (19560.76 GiB 21003.21 GB)
  Used Dev Size : 5860270720 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 6886190c:e41800e8:452f1d0e:0f68dab6

Internal Bitmap : 8 sectors from superblock
    Update Time : Mon Jun  9 21:52:48 2014
       Checksum : 19d94bd4 - correct
         Events : 39295

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 4
   Array State : AAAAAAAAA ('A' == active, '.' == missing)

/dev/sdf:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 2d18f556:0cbad263:017a87af:aadac8f7
           Name : brain:0  (local to host brain)
  Creation Time : Sun Mar  3 02:34:30 2013
     Raid Level : raid6
   Raid Devices : 9

 Avail Dev Size : 5860271024 (2794.40 GiB 3000.46 GB)
     Array Size : 20510947520 (19560.76 GiB 21003.21 GB)
  Used Dev Size : 5860270720 (2794.39 GiB 3000.46 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : fa319bfb:ffe914f0:36423faf:33634092

Internal Bitmap : 8 sectors from superblock
    Update Time : Mon Jun  9 21:52:48 2014
       Checksum : 8df7d698 - correct
         Events : 39295

         Layout : left-symmetric
     Chunk Size : 64K

   Device Role : Active device 5
   Array State : AAAAAAAAA ('A' == active, '.' == missing)

/dev/sdg:
   MBR Magic : aa55
Partition[0] :   4294967295 sectors at            1 (type ee)

/dev/sdh:
   MBR Magic : aa55
Partition[0] :   4294967295 sectors at            1 (type ee)

/dev/sdi:
   MBR Magic : aa55
Partition[0] :   4294967295 sectors at            1 (type ee)

/dev/sdj:
   MBR Magic : aa55
Partition[0] :   4294967295 sectors at            1 (type ee)

/dev/sdk:
   MBR Magic : aa55
Partition[0] :   4294967295 sectors at            1 (type ee)

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux