Thread (1 message) 1 message, 1 author, 2004-03-09

Booting from partitioned raid, do_mounts_md.c patch (was: Re: Partitioned raid and major number)

From: Miquel van Smoorenburg <hidden>
Date: 2004-03-09 16:46:23

On 2004.02.27 02:17, Neil Brown wrote:
On Friday February 27, neilb@cse.unsw.edu.au wrote:
quoted
Right.  I missed a bit in the patch.
(I assume you are still wanting to boot off /dev/sda until you copy
the data into /dev/md/d0p* - then you will use root=/dev/md_d0p1)
Sorry, that patch was wrong.
This one, ontop of the original patch, works for me (I finally got
around to testing it).


 ----------- Diffstat output ------------
 ./drivers/md/md.c     |    2 +-
 ./init/do_mounts_md.c |    9 ++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff ./drivers/md/md.c~current~ ./drivers/md/md.c
diff ./init/do_mounts_md.c~current~ ./init/do_mounts_md.c
I've tested this a lot as well, and it works fine. On my supermicro 1U test
machine I can now pull out one of the two disks, and the machine still boots.
I can even take out disk2, insert disk1 in the slot for disk2 and it
still boots. Which is pretty cool ;)

I didn't see this in -rc2-mm1 yet - is this going to be submitted to -mm soon ?

Mike.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help