Re: RAID 6 reshape failed (false message about critical section)

3 messages, 2 authors, 2007-09-05 · open the first message on its own page

Re: RAID 6 reshape failed (false message about critical section)

From: Neil Brown <hidden>
Date: 2007-09-05 12:36:17

On Wednesday September 5, ashutosh@harekrishna.ru wrote:
Please advise me how should I proceed to resolve this situation and  
save my data if possible (yes, unfortunately I was going to make  
backups in a week but did not had them yet - too bad for me :-( ).
Hi.
 thanks for the detailed report.

I can see what the problem is.  It will take a little while to figure
out what the "correct" fix it, but a quick fix to get you out of
trouble would be to remove the lines:

		if (info->array.utime > __le64_to_cpu(bsb.mtime) + 3600 ||
		    info->array.utime < __le64_to_cpu(bsb.mtime))
			continue; /* time stamp is too bad */

from Grow.c in mdadm (around line 925).  This change is definitely
safe for your case, and should get the array assembled and the reshape
restarted.  Please let me know how it goes.

NeilBrown

Re: RAID 6 reshape failed (false message about critical section)

From: Anton Voloshin <hidden>
Date: 2007-09-05 18:13:37

Dear Neil,
I can see what the problem is.  It will take a little while to figure
out what the "correct" fix it, but a quick fix to get you out of
trouble would be to remove the lines:

		if (info->array.utime > __le64_to_cpu(bsb.mtime) + 3600 ||
		    info->array.utime < __le64_to_cpu(bsb.mtime))
			continue; /* time stamp is too bad */
I've applied the patch that you suggested but I'm getting exactly the  
same result:
root@videoserver:~/mdadm-2.6.3# ./mdadm --assemble /dev/md1
mdadm: Failed to restore critical section for reshape, sorry.
Please advise me on any more information that I should provide or  
make any other suggestions/advices.

Best regards,
Anton Voloshin
Saint Petersburg, Russia

Re: RAID 6 reshape failed (false message about critical section)

From: Ashutosh Krishna Das <hidden>
Date: 2007-09-05 18:16:06

I can see what the problem is.  It will take a little while to figure
out what the "correct" fix it, but a quick fix to get you out of
trouble would be to remove the lines:
And by the way, Neil, thank you for quick and informative reply.

Best regards,
Anton Voloshin
Saint Petersburg, Russia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help