From: Neil Brown <neilb@suse.de>
To: Greg Nicholson <d0gz.net@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid5 Reshape gone wrong, please help
Date: Sun, 19 Aug 2007 21:17:50 +1000 [thread overview]
Message-ID: <18120.9950.578786.624453@notabene.brown> (raw)
In-Reply-To: message from Greg Nicholson on Saturday August 18
On Saturday August 18, d0gz.net@gmail.com wrote:
>
> That looks to me like the first 2 gig is completely empty on the
> drive. I really don't think it actually started to do anything.
The backup data is near the end of the device. If you look at the
last 2 gig you should see something.
>
> Do you have further suggestions on where to go now?
Maybe an 'strace' of "mdadm -A ...." might show me something.
If you feel like following the code, Assemble (in Assemble.c) should
call Grow_restart.
This should look in /dev/sdb1 (which is already open in 'fdlist') by
calling 'load_super'. It should then seek to 8 sectors before the
superblock (or close to there) and read a secondary superblock which
describes the backup data.
If this looks good, it seeks to where the backup data is (which is
towards the end of the device) and reads that. It uses this to
restore the 'critical section', and then updates the superblock on all
devices.
As you aren't getting the messages 'restoring critical section',
something is going wrong before there. It should fail:
/dev/md0: Failed to restore critical section for reshape, sorry.
but I can see that there is a problem with the error return from
'Grow_restart'. I'll get that fixed.
>
> Oh, and thank you very much for your help. Most of the data on this
> array I can stand to loose... It's not critical, but there are some of
> my photographs on this that my backup is out of date on. I can
> destroy it all and start over, but really want to try to recover this
> if it's possible. For that matter, if it didn't actually start
> rewriting the stripes, is there anyway to push it back down to 4 disks
> to recover ?
You could always just recreate the array:
mdadm -C /dev/md0 -l5 -n4 -c256 --assume-clean /dev/sdf1 /dev/sde1 \
/dev/sdd1 /dev/sdc1
and make sure the data looks good (which it should).
I'd still like to know that the problem is though....
Thanks,
NeilBeon
next prev parent reply other threads:[~2007-08-19 11:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-18 1:26 Raid5 Reshape gone wrong, please help Greg Nicholson
2007-08-18 8:56 ` Neil Brown
2007-08-18 15:37 ` Greg Nicholson
2007-08-19 11:17 ` Neil Brown [this message]
2007-08-19 15:45 ` Greg Nicholson
2007-08-20 2:44 ` Greg Nicholson
2007-08-21 2:09 ` Greg Nicholson
2007-08-23 15:04 ` Greg Nicholson
2007-08-23 15:06 ` Greg Nicholson
2007-08-27 10:57 ` Neil Brown
2007-08-27 16:42 ` Williams, Dan J
2007-08-30 5:47 ` Neil Brown
2007-08-29 13:32 ` Bill Davidsen
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=18120.9950.578786.624453@notabene.brown \
--to=neilb@suse.de \
--cc=d0gz.net@gmail.com \
--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).