From: Fabian Knorr <knorrfab@fim.uni-passau.de>
To: NeilBrown <neilb@suse.de>
Cc: Phil Turmel <philip@turmel.org>, linux-raid@vger.kernel.org
Subject: Re: Recovering an Array with inconsistent Superblocks
Date: Sun, 05 Jan 2014 11:40:11 +0100 [thread overview]
Message-ID: <1388918411.3591.18.camel@vessel> (raw)
In-Reply-To: <20140105205612.093276ef@notabene.brown>
> I haven't read the whole thread, but this sounds like the bug fixed by:
>
> commit f81a2b56c4b437f66aaf5582a9c6b7f5ab2103c4
> Author: NeilBrown <neilb@suse.de>
> Date: Tue Oct 22 09:55:04 2013 +1100
>
> Assembe: fix bug in force_array - it wasn't forcing properly.
>
>
> try getting mdadm from git and building that
> git clone git://neil.brown.name/mdadm
> cd mdadm
> make
Thank you Neil, that did it.
With the git version, I was able to re-assemble the array as Phil told
me:
mdadm --assemble /dev/md0 /dev/sd[bcefghi] --force --verbose
mdadm told me that "7 devices are not enough to start the array" (see
assemble.log). /proc/mdstat still showed /dev/md127 instead of md0, now
correctly with 7 drives and r/o (mdstat.log).
Still, I was able to see my LVM volumes after "vgchange -ay" and do a
(read-only) fsck (fsck.log). It seemed to pass flawlessly for the volume
"lvm-storage", which is the partition containing my data. "lvm-root"
failed horribly, but this is just the system partition which I planned
on re-building from scratch anyway.
I'd like to keep the state of lvm-storage as it is and re-install my
system. Still, a few things I'm not sure about:
- How can I get mdadm to initiate resync and get write access
to my data?
- As lvm-root seems to be severly damaged, is there any chance
of errors in the lvm-storage FS that fsck -fn does not
detect? Could re-syncing therefore destroy data I have access
to now?
- Can I make sure that the working setup is written to all
superblocks, and zero the spare's superblock so that there is
no such confusion when trying to assemble the array in the
future?
Thanks.
Fabian
next prev parent reply other threads:[~2014-01-05 10:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-04 10:04 Recovering an Array with inconsistent Superblocks Fabian Knorr
2014-01-04 16:24 ` Phil Turmel
2014-01-04 17:59 ` Can Jeuleers
2014-01-04 19:16 ` Phil Turmel
2014-01-04 22:05 ` Fabian Knorr
2014-01-05 2:32 ` Phil Turmel
2014-01-05 9:07 ` Fabian Knorr
2014-01-05 9:56 ` NeilBrown
2014-01-05 10:40 ` Fabian Knorr [this message]
[not found] ` <1388918703.3591.20.camel@vessel>
2014-01-05 18:25 ` Phil Turmel
2014-01-05 23:50 ` NeilBrown
2014-01-06 14:00 ` Fabian Knorr
2014-01-07 0:26 ` NeilBrown
2014-01-14 8:54 ` David Brown
2014-01-04 22:08 ` Fabian Knorr
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=1388918411.3591.18.camel@vessel \
--to=knorrfab@fim.uni-passau.de \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
--cc=philip@turmel.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 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.