Thread (2 messages) 2 messages, 2 authors, 2005-11-28

Re: [PATCH] Fix for "Booting from raid1 -- md: invalid raid superblock mag"

From: David M. Strang <hidden>
Date: 2005-11-28 02:15:24

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help