RAID5 in sync does not populate slots sequentially, shows array as (somewhat) faulty

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

 



Hello,

Noticing the problems Tor Vestbø is having, I remembered that I have an array in a similar state, which I never figured out. The array has been working flawlessly for 3 months, the monthly 'check' runs come back with everything being clean. However this is how the array looks through mdadm's eyes:

root@Thesaurus:~# mdadm -D /dev/md5
/dev/md5:
        Version : 01.01.03
  Creation Time : Tue Jan 22 03:52:42 2008
     Raid Level : raid5
     Array Size : 865081344 (825.01 GiB 885.84 GB)
  Used Dev Size : 576720896 (275.00 GiB 295.28 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 5
    Persistence : Superblock is persistent

    Update Time : Mon Mar  3 11:34:36 2008
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 2048K

           Name : Thesaurus:Crypta  (local to host Thesaurus)
           UUID : 1decb2d1:ebf16128:a240938a:669b0999
         Events : 9090

    Number   Major   Minor   RaidDevice State
4 8 3 0 active sync /dev/sda3 <-- why at #4, not #0?
       1       8       19        1      active sync   /dev/sdb3
       2       8       35        2      active sync   /dev/sdc3
       3       8       51        3      active sync   /dev/sdd3
root@Thesaurus:~#

root@Thesaurus:~# mdadm -E /dev/sda3
/dev/sda3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 1decb2d1:ebf16128:a240938a:669b0999
           Name : Thesaurus:Crypta  (local to host Thesaurus)
  Creation Time : Tue Jan 22 03:52:42 2008
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 576733236 (275.01 GiB 295.29 GB)
     Array Size : 1730162688 (825.01 GiB 885.84 GB)
  Used Dev Size : 576720896 (275.00 GiB 295.28 GB)
    Data Offset : 264 sectors		<-- not sure why this is different from the rest
   Super Offset : 0 sectors
          State : active
    Device UUID : 72d9ceb4:89a20f49:50d51384:9b164f72

    Update Time : Mon Mar  3 11:34:26 2008
       Checksum : 4bd3ae95 - correct
         Events : 9090

         Layout : left-symmetric
     Chunk Size : 2048K

    Array Slot : 4 (failed, 1, 2, 3, 0)
   Array State : Uuuu 1 failed			<-- why is that?
root@Thesaurus:~#

root@Thesaurus:~# mdadm -E /dev/sdb3
/dev/sdb3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 1decb2d1:ebf16128:a240938a:669b0999
           Name : Thesaurus:Crypta  (local to host Thesaurus)
  Creation Time : Tue Jan 22 03:52:42 2008
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 576733364 (275.01 GiB 295.29 GB)
     Array Size : 1730162688 (825.01 GiB 885.84 GB)
  Used Dev Size : 576720896 (275.00 GiB 295.28 GB)
    Data Offset : 136 sectors
   Super Offset : 0 sectors
          State : active
    Device UUID : 0ba427b2:6cc26a34:cc9838d9:1dc77772

    Update Time : Mon Mar  3 11:39:01 2008
       Checksum : 89d50e1f - correct
         Events : 9090

         Layout : left-symmetric
     Chunk Size : 2048K

    Array Slot : 1 (failed, 1, 2, 3, 0)
   Array State : uUuu 1 failed			<-- and that?
root@Thesaurus:~#

root@Thesaurus:~# mdadm -E /dev/sdc3
/dev/sdc3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 1decb2d1:ebf16128:a240938a:669b0999
           Name : Thesaurus:Crypta  (local to host Thesaurus)
  Creation Time : Tue Jan 22 03:52:42 2008
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 576733364 (275.01 GiB 295.29 GB)
     Array Size : 1730162688 (825.01 GiB 885.84 GB)
  Used Dev Size : 576720896 (275.00 GiB 295.28 GB)
    Data Offset : 136 sectors
   Super Offset : 0 sectors
          State : active
    Device UUID : ada93838:5e3fef07:fd478ba7:8fcf75e6

    Update Time : Mon Mar  3 11:39:44 2008
       Checksum : 25bb4882 - correct
         Events : 9090

         Layout : left-symmetric
     Chunk Size : 2048K

    Array Slot : 2 (failed, 1, 2, 3, 0)
   Array State : uuUu 1 failed			<-- same here
root@Thesaurus:~#

root@Thesaurus:~# mdadm -E /dev/sdd3
/dev/sdd3:
          Magic : a92b4efc
        Version : 1.1
    Feature Map : 0x0
     Array UUID : 1decb2d1:ebf16128:a240938a:669b0999
           Name : Thesaurus:Crypta  (local to host Thesaurus)
  Creation Time : Tue Jan 22 03:52:42 2008
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 576733364 (275.01 GiB 295.29 GB)
     Array Size : 1730162688 (825.01 GiB 885.84 GB)
  Used Dev Size : 576720896 (275.00 GiB 295.28 GB)
    Data Offset : 136 sectors
   Super Offset : 0 sectors
          State : active
    Device UUID : be5f202f:c9097996:98d66036:9b6453ee

    Update Time : Mon Mar  3 11:40:11 2008
       Checksum : 41dfecc1 - correct
         Events : 9090

         Layout : left-symmetric
     Chunk Size : 2048K

    Array Slot : 3 (failed, 1, 2, 3, 0)
   Array State : uuuU 1 failed
root@Thesaurus:~# 				<-- and here



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