On Thursday October 11, [EMAIL PROTECTED] wrote:
> Ok, after looking in "Grow.c" I can see that the backup file is  
> removed once the critial section has passed:
> 
>               if (backup_file)
>                       unlink(backup_file);
> 
>               printf(Name ": ... critical section passed.\n");
> 
> Since I had passed that point I'll try to find out where  
> Grow_restart() stumbles. By looking at it I'm not even sure it's able  
> to "resume" and not just restart. :-/
> 

It isn't a problem that you didn't specify a backup-file.
If you don't, mdadm uses some spare space on one of the new drives.
After the critical section has passed, the backup file isn't needed
any longer.
The problem is that mdadm still wants to find and recover from it.

I throughly tested mdadm restarting from a crash during the critical
section, but it looks like I didn't properly test restarting from a
later crash.

I think if you just change the 'return 1' at the end of Grow_restart
to 'return 0' it should work for you.

I'll try to get this fixed properly (and tested) and release a 2.6.4.

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