Re: Raid5 crashed, need comments on possible repair solution

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

 



Hi,

got an all-spares auto-assembly on IRC with "Raid level: -unknown-". We recovered by re-creating the array. Since more data is always good, I add this to the thread and hope it helps confirm the bug is fixed by the patch.

RAID-5, 3 members with 1 missing on creation and ever since.

Members on partitions with partition type set for auto-assembly.

Array was transported to a new machine.

Drive order got mixed up on transport: AB_ BA_
(figured that out on recovery)

On target machine boot-up (array not yet configured in mdadm.conf) Archlinux auto-assembled array with both drives as spares:

/dev/sda1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : c051172d:52ed3e47:e8dc6dc8:8798f4c9
           Name : OncleGeorges:0
  Creation Time : Fri Aug  5 18:00:19 2011
     Raid Level : -unknown-
   Raid Devices : 0

 Avail Dev Size : 1953515969 (931.51 GiB 1000.20 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : active
    Device UUID : a8b44e10:ff04d973:c5f92933:3c9e124f

    Update Time : Sat Apr 21 19:14:34 2012
       Checksum : 8b57fb27 - correct
         Events : 1


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

/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : c051172d:52ed3e47:e8dc6dc8:8798f4c9
           Name : OncleGeorges:0
  Creation Time : Fri Aug  5 18:00:19 2011
     Raid Level : -unknown-
   Raid Devices : 0

 Avail Dev Size : 2046769231 (975.98 GiB 1047.95 GB)
  Used Dev Size : 1953515969 (931.51 GiB 1000.20 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : active
    Device UUID : d2594375:c8adc5a0:53938a24:9bd5c6be

    Update Time : Sat Apr 21 19:14:34 2012
       Checksum : 83dd0895 - correct
         Events : 1


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


Versions:

Linux HostName 3.3.4-2-ARCH #1 SMP PREEMPT Wed May 2 15:39:58 UTC 2012 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux

mdadm - v3.2.3 - 23rd December 2011

Greetings,

Pierre Beck
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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