you have to add the
persistent-superblock 1
line to your raidtab before creating the RAID0 array.
-- mingo
On Sat, 17 Oct 1998, Jeremy Hansen wrote:
>
> I just setup raid level 0 across 2 drives, disk 0 is a part of sda, sda3,
> and disk 1 is the entire sdb, sdb1.
>
> Everything went fine with setup, and creation of the raid partition, etc,
> but after I did a reboot just to make sure things would mount properly,
> etc, I had a problem.
>
> Oct 17 18:02:53 www kernel: (read) sda3's sb offset: 1991936
> Oct 17 18:02:53 www kernel: md: invalid raid superblock magic on sda3
> Oct 17 18:02:53 www kernel: md: sda3 has invalid sb, marking faulty!
> Oct 17 18:02:53 www kernel: can not autostart based on faulty sda3!
> Oct 17 18:02:53 www kernel: export_rdev(sda3)
> Oct 17 18:02:53 www kernel: autostart sda3 failed!
>
> I did a mkraid --force-resync -f /dev/md0 and it's back to normal, but I
> fear I will get the same error if I try again. Is there something I'm
> not doing properly? I question the fact that sda3 is on a drive with
> other non raid partitions, but this shouldn't be a problem, should it?
>
> Thanks
> -jeremy
>