On Sunday November 5, [EMAIL PROTECTED] wrote:
> Hi
> 
> Why would the superblock magic be zero on a newly created RAID-1 set?
> 
> I get this error when the kernel (2.6.17.7) boots:
> 
>     md: Autodetecting RAID arrays.
>     md: invalid raid superblock magic on sda1, found 0x0 not 0xa92b4efc
>     md: sda1 has invalid sb, not importing!
>     md: invalid raid superblock magic on sda2, found 0x0 not 0xa92b4efc
>     md: sda2 has invalid sb, not importing!
>     md: invalid raid superblock magic on sdb1, found 0x0 not 0xa92b4efc
>     md: sdb1 has invalid sb, not importing!
>     md: invalid raid superblock magic on sdb2, found 0x0 not 0xa92b4efc
>     md: sdb2 has invalid sb, not importing!
>     md: autorun ...
>     md: ... autorun DONE.
> 
> (I modified md.c so that it prints out "found xxxx not 0xa92b4efc")
> 
> I have a monolithic kernel, compiled for RAID-1.
> 
> Once the system is up and running, mdadm brings up the RAID arrays fine:
> 
>     # cat /proc/mdstat
>     Personalities : [raid1] 
>     md1 : active raid1 sda2[0] sdb2[1]
>           506036 blocks super 1.0 [2/2] [UU]
                          ^^^^^^^^^

in-kernel autodetect (based on partition types FD) only works for
version 0.90 superblocks.

You mdadm to assemble the array, it is more flexible than auto-detect.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to