Problems with mdadm v3.0-develp2 Nov 2008

Last night I clicked ok to an online update without checking which programs were concerned.
From then on my raid1 does not work anymore.

Rather than releasing some new stuff that “should not cause any problems” some more comprhensive and detailed documentation would have been more helpful.

Now I am stuck with a raid1 that is

  • “active, not started”,
  • where the single partitions are clean but the superblock of the md0 device is not found and
  • the personality for level 1 is not loaded.
    I tried to set one of the two partition to “failed” and remove it in order to add it again but this does not work.

I suspect that the change in the sharing of tasks with udev-rules is to blame but I simply do not have the time to put a weekend into surfing the forums for info on the new mdadm version right now. I am not a developer or do I want to beta-test.

  1. How can I find out since when I have this version running?

  2. How can I go back to the previous version?

  3. Is there any systematic documentation available that goes beyond a compilation of some simple examples (howtos) to discuss which command effects what changes in the “mdadm -details” listing?

Thank you my friends!

Here is what I get from detailing and examining the md0 and the constituting partitions:

mdadm - v3.0-devel2 - 5th November 2008
/dev/md0:
        Version : 1.00
  Creation Time : Sat May 23 13:25:45 2009
     Raid Level : raid1
  Used Dev Size : 435618372 (415.44 GiB 446.07 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

    Update Time : Fri Jul 24 01:28:10 2009
          State : active, Not Started
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           Name : Tokamac:0
           UUID : e5df584e:3574ca27:14c30ef3:d7c0fa17
         Events : 4

    Number   Major   Minor   RaidDevice State
       0       8        5        0      active sync   /dev/sda5
       1       8       21        1      active sync   /dev/sdb5
mdadm: No md superblock detected on /dev/md0.
/dev/sda5:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x1
     Array UUID : e5df584e:3574ca27:14c30ef3:d7c0fa17
           Name : Tokamac:0
  Creation Time : Sat May 23 13:25:45 2009
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 871236744 (415.44 GiB 446.07 GB)
     Array Size : 871236744 (415.44 GiB 446.07 GB)
   Super Offset : 871237000 sectors
          State : clean
    Device UUID : 06edd6d8:d0e3f32f:fd8223ec:906d8fb3

Internal Bitmap : -209 sectors from superblock
    Update Time : Fri Jul 24 01:28:10 2009
       Checksum : 9ef097ef - correct
         Events : 4


    Array Slot : 0 (0, 1)
   Array State : Uu
/dev/sdb5:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x1
     Array UUID : e5df584e:3574ca27:14c30ef3:d7c0fa17
           Name : Tokamac:0
  Creation Time : Sat May 23 13:25:45 2009
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 871236744 (415.44 GiB 446.07 GB)
     Array Size : 871236744 (415.44 GiB 446.07 GB)
   Super Offset : 871237000 sectors
          State : clean
    Device UUID : 3007baa2:3313ff42:5f7ba0cc:1933e35c

Internal Bitmap : -209 sectors from superblock
    Update Time : Fri Jul 24 01:28:10 2009
       Checksum : 5af9f68 - correct
         Events : 4


    Array Slot : 1 (0, 1)
   Array State : uU