On Tuesday November 8, marvin@xxxxxxxx wrote: > > On Nov 8, 2005, at 01:25 , Neil Brown wrote: > > > On Tuesday November 8, marvin@xxxxxxxx wrote: > > > >> > >> All in all I have made 4 or 5 syncs now, each taking about 9 hours. > >> And I've made sure to shut down the computer cleanly afterwards. > >> > >> > > > > Ok. Can you give me a complete boot log, rather than the edited > > version. There might be something important in there. > > > > > > Okay. This log starts with a sync, after which I reboot to see if the > disk will stay in the RAID. > > Note that hdc at this point is placed on a PCI IDE controller, so > it's called hde, i.e. we have hda3, hde3 and hdg2 as disks in md1. > compare with md0, which is hda1 and hde1 and gets detected properly. > Thanks. You are booting with a ramdisk which loads various modules including raid, and then attempts to assemble the raid arrays. It is not using auto-detect to assemble the arrays (so the partition type is irrelevant). It is not using 'raidstart' to assemble the arrays (which is good, and raid start is broken). So it must be using mdadm (or mdassemble). Can you find that ramdisk (probably in /boot/initrd* somewhere), mount it, (-t cramfs -o loop) and look inside it. Look particularly for /etc/mdadm.conf. but look around for anything else that might be related to md or raid. ... actually, you said which distribution you were using (Debian) so I should be able to figure it out from that... Hm.. mkinitrd in pretty broken in debian wrt mdadm :-( You should find some script called 'md-1script' or something like that which has something like mdadm -A /dev/md1 -R -u 4b22b17d:06048bd3:ecec156c:31fabbaf /dev/hda3 /dev.. This is probably broken. Maybe if you just run mkinitrd again while the array is fully working, it might boot properly next time. Someone needs to fix Debian's mkinitrd script.... NeilBrown - 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