linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Rabbitson <rabbit+list@rabbit.us>
To: linux-raid@vger.kernel.org
Subject: RAID5 in sync does not populate slots sequentially, shows array as (somewhat) faulty
Date: Mon, 03 Mar 2008 11:42:54 +0100	[thread overview]
Message-ID: <47CBD62E.7040608@rabbit.us> (raw)

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2008-03-03 10:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03 10:42 Peter Rabbitson [this message]
2008-03-03 11:44 ` RAID5 in sync does not populate slots sequentially, shows array as (somewhat) faulty Tor Arne Vestbø
2008-03-03 18:34 ` Bill Davidsen
2008-03-04 10:25   ` Peter Rabbitson
2008-03-04 10:42     ` Tor Arne Vestbø
2008-03-04 10:52       ` Peter Rabbitson
2008-03-04 10:58         ` Tor Arne Vestbø
2008-03-06 14:51       ` Rui Santos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47CBD62E.7040608@rabbit.us \
    --to=rabbit+list@rabbit.us \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).