On Tue, October 20, 2009 7:05 am, NeilBrown wrote: > On Tue, October 20, 2009 12:53 am, Guy Martin wrote: >> >> Hi Neil, >> >> Same result with the latest commit after a reboot. >> >> Maybe the problem comes from the fact that I first try to assemble >> the array without providing a backup file ? > > That should not cause a problem - mdadm will simply fail in that > case and leave you to do it 'right'. > > I assume it is the same backup file from before - not a file in /tmp > or something like that? > >> >> For reference I did the following : >> mdadm --create /dev/md0 -l 5 -n 3 /dev/sd[bdf]1 >> mdadm --add /dev/md0 /dev/sde1 >> [wait for the raid 5 to rebuild] >> mdadm --grow /dev/md0 --backup-file backup -l 6 -n 4 >> [wait a few hours] >> reboot >> mdadm --assemble /dev/md0 /dev/sd[bdef]1 >> mdadm --assemble /dev/md0 /dev/sd[bdef]1 --backup-file backup >> >> Any other output you'd need ? > > In general adding '-v' to '--assemble' is a good idea, but I doubt > it would give anything particularly useful in this case. > I'll try to reproduce your result and let you know how I go. I tried to reproduce this and failed - it works perfectly for me. I have added some more tracing messages to --assemble which are enabled by --verbose. Could you please pull the latest devel-3.1 branch from my git tree and try the same assemble command but with --verbose at the end and report the result. Thanks. 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