From: "David M. Strang" <dstrang@shellpower.net>
To: "Raphaël Rigo" <raphael.rigo@twilight-hall.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH] Fix for "Booting from raid1 -- md: invalid raid superblock mag"
Date: Sun, 27 Nov 2005 21:15:24 -0500 [thread overview]
Message-ID: <05e201c5f3c1$97865c90$200a11ac@NCNF5131FTH> (raw)
In-Reply-To: 438A238C.6030403@twilight-hall.net
On Sunday 27 November 2005 16:18:23, Raphaël Rigo wrote
>
> Hi,
> here is a patch that fixes the problem described by David M. Stra.
>
> The problem is that the array is first initialized with SET_ARRAY_INFO
> without
> any specific parameter and the md driver uses the 0.90 behaviour by
> default.
> So we must specify it's 1.0 superblock by doing another SET_ARRAY_INFO.
>
> I'll correct if anything is wrong.
>
^^-- This workaround does work; it may limit those run multiple raid arrays
with different types superblocks in each array that need to be loaded via
do_mounts_md.c -- but if you are using all superblock v1.0; this does get
the job done.
Many thanks for the time you spent debugging this with me today.
-- David
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2005-11-28 2:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-27 21:22 [PATCH] Fix for "Booting from raid1 -- md: invalid raid superblock mag" Raphaël Rigo
2005-11-28 2:15 ` David M. Strang [this message]
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='05e201c5f3c1$97865c90$200a11ac@NCNF5131FTH' \
--to=dstrang@shellpower.net \
--cc=linux-raid@vger.kernel.org \
--cc=raphael.rigo@twilight-hall.net \
/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