From: Oliver Schinagl <oliver+list@schinagl.nl>
To: NeilBrown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Small short question Was: Re: Recovering from the kernel bug, Neil?
Date: Fri, 14 Sep 2012 13:51:46 +0200 [thread overview]
Message-ID: <50531A52.7060205@schinagl.nl> (raw)
In-Reply-To: <505301E1.10707@schinagl.nl>
Since I had only one valid device to check with etc, I assume that if
fsck -n -f /dev/md2 runs sucessfully, it is 100% safe to assume the
array is perfectly healthy?
E.g. it should be perfectly safe to mdadm --zero-superblock on /dev/sda6
and add it to /dev/md2 (missing /dev/sdb6)?
I know technically this all works out fine, and the bug shouldn't have
broken anything in that regard. Or is it absolutly recommended to simply
create a new array, with a new FS on it, and copy all data over
(Logically also with /dev/md2, /dev/sda6 missing and later adding sdb6)?
Oliver
On 09/14/12 12:07, Oliver Schinagl wrote:
> So I've spent the last few days trying several things to recover the
> array. Assumption is the mother right?
>
> I had 3 arrays, /, /usr and /opt. I did some basic research at the
> various raid levels, and for some reason decided that f2 was good for /,
> and o2 for /usr. In that same trend I thought o2 was good for /opt as
> well. I was wrong. I was so sure I made it o2, that I ruled out the
> possibility it being f2. I did try various offsets, but never f2 with
> missing /dev/sdb6. I think i even tried f2 in the passed, but on sda6
> where i may have broke things.
>
> Short story short, it turns out it was 128k chunks, Far2 offset. The
> data actually is accessible from a dd-ed image looped to mdadm and that
> mounted. I will now recreate my md2 array, and copy the data over.
>
> Thank you for all advice and help in the past and again. You are an
> amazing dev and a good person.
>
> Oliver
>
next prev parent reply other threads:[~2012-09-14 11:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-19 13:56 Recovering from the kernel bug Oliver Schinagl
2012-09-09 20:22 ` Recovering from the kernel bug, Neil? Oliver Schinagl
2012-09-09 23:08 ` NeilBrown
2012-09-10 8:44 ` Oliver Schinagl
2012-09-11 6:16 ` NeilBrown
2012-09-14 10:07 ` Oliver Schinagl
2012-09-14 11:51 ` Oliver Schinagl [this message]
2012-09-14 16:43 ` Small short question Peter Grandi
2012-09-14 20:19 ` Oliver Schinagl
2012-09-20 2:22 ` Small short question Was: Re: Recovering from the kernel bug, Neil? NeilBrown
2012-09-20 17:05 ` Oliver Schinagl
2012-09-20 17:49 ` Chris Murphy
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=50531A52.7060205@schinagl.nl \
--to=oliver+list@schinagl.nl \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.