linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: BSD disklabel and autodetection
@ 2002-07-26 17:09 martin
  2002-07-29  8:53 ` Michael Tokarev
  0 siblings, 1 reply; 9+ messages in thread
From: martin @ 2002-07-26 17:09 UTC (permalink / raw)
  To: linux-raid


hi - i'm resending this as it didn't seem to make the list first time.
sorry if you've already seen it.


On 23 Jul 2002, Hein Roehrig wrote:
> <martin at hack.org> writes:
> > i'm trying to get autodetection to work on a RAID 5 raiddevice made up
> > from three devices. two of them reside on disks with DOS-style partition
> > tables, the third is on a disk with a BSD disklabel. all of them have the
> > partition type set to 0xfd, but only the first two devices are configured
> > at boot time.
>
> See message <1019846049.1670.76.camel@peecee> on this mailing list. I
> am in the process of patching my personal 2.4.19-rc3 to do
> autodetection -- in the long run initrd is the way to go.

Hein, i don't quite understand how initrd will solve my problem? i'm
quite happy with my handrolled kernel, it's just that some of the
partitions of the raid device are not detected.

following some hints i've seen elsewhere on the list i tried to pass md
parameters to the kernel ->

Booting on Nautilus using machine vector Nautilus from SRM
Command line: ro root=/dev/md1 md=1,/dev/sdb5,/dev/sdc2,/dev/sdd2 raid=noautodetect
md: Will configure md1 (super-block) from /dev/sdb5,/dev/sdc2,/dev/sdd2, below.

with the raid=noautodetect option it works.

what other raid/md options can be passed this way? and how do i configure
more than one device? geez, hope there's not a 256 char limit to the
command line...
are these options documented somewhere??


with regards,

/m



^ permalink raw reply	[flat|nested] 9+ messages in thread
* BSD disklabel and autodetection
@ 2002-07-23 14:04 martin
  2002-07-23 13:27 ` Hein Roehrig
  0 siblings, 1 reply; 9+ messages in thread
From: martin @ 2002-07-23 14:04 UTC (permalink / raw)
  To: linux-raid


hi all,

i'm trying to get autodetection to work on a RAID 5 raiddevice made up
from three devices. two of them reside on disks with DOS-style partition
tables, the third is on a disk with a BSD disklabel. all of them have the
partition type set to 0xfd, but only the first two devices are configured
at boot time.
the unit, which happens to be my root fs, still comes up but with only
two devices working.
i also have swap space configured as RAID1 over two BSD disklabel disks
which doesn't come up at all, and another RAID5 (/home) that doesn't
autodetect, so this is a bit of a problem to me.
if i run raidstart everything works fine, but that isn't an option for
root.
the same thing happens with kernel 2.4.4 and 2.4.18 - the BSD disklabel
partitions are not considered as autodetectable at boot time.

any ideas? i've tried to find information about this from the FAQ and
kernel mailinglists but can't figure out how to do it.

here's some output i get - md1 should consist of sdb5, sdd2 and sdc2 and
md0 of sda2 and sdb2:

md: autorun ...
md: considering sdd2 ...
md:  adding sdd2 ...
md:  adding sdc2 ...
md: created md1
md: bind<sdc2,1>
md: bind<sdd2,2>
md: running: <sdd2><sdc2>


many thanks in advance,

/m


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-07-31 10:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-26 17:09 BSD disklabel and autodetection martin
2002-07-29  8:53 ` Michael Tokarev
2002-07-29 10:13   ` Neil Brown
2002-07-29 15:50     ` md device stuck! martin
2002-07-30 23:16       ` Neil Brown
2002-07-31 10:41         ` martin
  -- strict thread matches above, loose matches on Subject: below --
2002-07-23 14:04 BSD disklabel and autodetection martin
2002-07-23 13:27 ` Hein Roehrig
2002-07-24  9:09   ` martin

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).