On Mar 2, 2008, at 15:17, Christian Pernegger wrote:
- the array does not continue to sync to the "spare" created duringarray creation automagically, it just sits there: Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid5 sdb[0] sde[4] sdd[2] sdc[1]2930285568 blocks super 1.0 level 5, 1024k chunk, algorithm 2 [4/3] [UUU_]bitmap: 3/466 pages [12KB], 1024KB chunk
Are you by any chance running of an initramfs? If you do, then please check /sys/module/md_mod/parameters/start_ro. The mdadm hook scripts, at least in debian unstable set, this to
1 resulting in stopped automatic resync.
P. S: BTW, mdadm segfaults at the end of --assemble, too mdadm[3635]: segfault at 0000000000000000 rip 0000000000412d2c rsp 00007fffd6f371f0 error 4
I did not have a problem at --assemble but in my case --monitor just segfaulted during startup so this may be the same problem. Check if you have ARRAY entries in your /etc/mdadm/mdadm.conf, if yes make sure they represent your current configuration. If there are no entries or if you are not sure if they are for your current setup delete them and call mdadm-startall afterwards so they get recreated. ALSO update your initramfs so that the new config file gets used. This fixed the segfaults for me.
Kind regards, Michael
Attachment:
smime.p7s
Description: S/MIME cryptographic signature