linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Anton Voloshin <ashutosh@harekrishna.ru>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID 6 reshape failed (false message about critical section)
Date: Wed, 5 Sep 2007 13:36:17 +0100	[thread overview]
Message-ID: <18142.41665.719883.549678@notabene.brown> (raw)
In-Reply-To: message from Anton Voloshin on Wednesday September 5

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

  reply	other threads:[~2007-09-05 12:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05 10:33 RAID 6 reshape failed (false message about critical section) Anton Voloshin
2007-09-05 12:36 ` Neil Brown [this message]
2007-09-05 18:13   ` Anton Voloshin
2007-09-06  5:12     ` Neil Brown
2007-09-06 20:57       ` RAID 6 reshape failed (false message about critical section) - success report Anton Voloshin
2007-09-08 16:19         ` Bill Davidsen
2007-09-05 18:16   ` RAID 6 reshape failed (false message about critical section) Ashutosh Krishna Das

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18142.41665.719883.549678@notabene.brown \
    --to=neilb@suse.de \
    --cc=ashutosh@harekrishna.ru \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).