* RAID autorun support for SunOS disk labels
@ 2002-04-26 10:11 Andrew Beresford
2002-04-26 18:34 ` Gregory Leblanc
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Beresford @ 2002-04-26 10:11 UTC (permalink / raw)
To: linux-raid
Hi all,
After many hours spend last night trying to get my root filesystem
autorun when my kernel loads I discovered that sunos.c in fs/partitions
has no support for adding partitions to the list of eligible RAID
members. Before I go and fix the Solaris partition code (it can't work
out what type a partition is at the moment) and add in the
md_autodetect_dev() business, has anyone else already fixed this?
I have a patch at the moment, but it is evil (and tries to add *every*
partition to the RAID list) so I would prefer to do it properly before
releasing it on the world :)
Cheers,
Beezly
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID autorun support for SunOS disk labels
2002-04-26 10:11 RAID autorun support for SunOS disk labels Andrew Beresford
@ 2002-04-26 18:34 ` Gregory Leblanc
2002-04-26 19:03 ` Andrew Beresford
0 siblings, 1 reply; 6+ messages in thread
From: Gregory Leblanc @ 2002-04-26 18:34 UTC (permalink / raw)
To: Linux RAID
On Fri, 2002-04-26 at 03:11, Andrew Beresford wrote:
> Hi all,
>
> After many hours spend last night trying to get my root filesystem
> autorun when my kernel loads I discovered that sunos.c in fs/partitions
> has no support for adding partitions to the list of eligible RAID
> members. Before I go and fix the Solaris partition code (it can't work
> out what type a partition is at the moment) and add in the
> md_autodetect_dev() business, has anyone else already fixed this?
As far as I know nobody has mucked around with the code for autodetect
stuff on non-DOS disklabels. Neil Brown has been advocating that people
not use the partition types, and let the userspace tools set things up.
You can find his arguments in the archives for this list (info
linux-raid to majordomo@vger.kernel.org should get you some links to the
archives).
Greg
--
Portland, Oregon, USA.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID autorun support for SunOS disk labels
2002-04-26 18:34 ` Gregory Leblanc
@ 2002-04-26 19:03 ` Andrew Beresford
2002-07-22 16:50 ` Hein Roehrig
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Beresford @ 2002-04-26 19:03 UTC (permalink / raw)
To: Gregory Leblanc; +Cc: Linux RAID
Hi Greg,
On Fri, Apr 26, 2002 at 11:34:09AM -0700, Gregory Leblanc wrote:
>
> As far as I know nobody has mucked around with the code for autodetect
> stuff on non-DOS disklabels. Neil Brown has been advocating that people
> not use the partition types, and let the userspace tools set things up.
> You can find his arguments in the archives for this list (info
> linux-raid to majordomo@vger.kernel.org should get you some links to the
> archives).
Thanks for the information. I've had a flick through the archives and
read up why Neil disagrees with autodetection. However, in my case, the
RAID configuration is reasonably simple and initrd opens up a whole
world of hurt that I can just do without (I tried to go down this road -
admittedly it was 3 in the morning!). I'll create the patch anyway, although it's likely to be a week or so as I'm moving house this weekend.
I figure that it's more useful to have the choice between autodetection or running raidstart under initrd.
Cheers,
Beezly
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID autorun support for SunOS disk labels
2002-04-26 19:03 ` Andrew Beresford
@ 2002-07-22 16:50 ` Hein Roehrig
2002-07-23 19:13 ` Michael Tokarev
0 siblings, 1 reply; 6+ messages in thread
From: Hein Roehrig @ 2002-07-22 16:50 UTC (permalink / raw)
To: linux-raid
Andrew Beresford <beezly@beezly.org.uk> writes:
> [...] I'll create the patch anyway [...]
Did you ever get around to this? I would be very interested in such a
patch (need a drop-in replacement for a 2.2.17, can think about
initrd later when I am the console and not remote-debugging.)
TIA,
Hein
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID autorun support for SunOS disk labels
2002-07-22 16:50 ` Hein Roehrig
@ 2002-07-23 19:13 ` Michael Tokarev
2002-07-23 19:49 ` Hein Roehrig
0 siblings, 1 reply; 6+ messages in thread
From: Michael Tokarev @ 2002-07-23 19:13 UTC (permalink / raw)
To: linux-raid
Hein Roehrig wrote:
>
> Andrew Beresford <beezly@beezly.org.uk> writes:
>
> > [...] I'll create the patch anyway [...]
>
> Did you ever get around to this? I would be very interested in such a
> patch (need a drop-in replacement for a 2.2.17, can think about
> initrd later when I am the console and not remote-debugging.)
What's wrong with using kernel command-line for raid - e.g.
linux md=2,/dev/sda1,/dev/sdb1,/dev/sdc1
etc ? No need for autodetection and no need for initrd.
Works here like a charm (2.4.x kernels, 2.2 has no such
option).
/mjt
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID autorun support for SunOS disk labels
2002-07-23 19:13 ` Michael Tokarev
@ 2002-07-23 19:49 ` Hein Roehrig
0 siblings, 0 replies; 6+ messages in thread
From: Hein Roehrig @ 2002-07-23 19:49 UTC (permalink / raw)
To: linux-raid
Michael Tokarev <mjt@tls.msk.ru> writes:
> What's wrong with using kernel command-line for raid - e.g.
> linux md=2,/dev/sda1,/dev/sdb1,/dev/sdc1
> etc ? No need for autodetection and no need for initrd.
> Works here like a charm (2.4.x kernels, 2.2 has no such
> option).
When you remove or exchange drives this is not nice. And I have six
disks in a set. I have a preliminary patch (posted in another message)
but now I have other transition problems 2.2.17->2.4.19-rc3. Once
these are resolved and I have the system working with 2.4.19, I am
going to think about a nice long-term solution.
Thanks,
Hein
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-07-23 19:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-26 10:11 RAID autorun support for SunOS disk labels Andrew Beresford
2002-04-26 18:34 ` Gregory Leblanc
2002-04-26 19:03 ` Andrew Beresford
2002-07-22 16:50 ` Hein Roehrig
2002-07-23 19:13 ` Michael Tokarev
2002-07-23 19:49 ` Hein Roehrig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).