Re: RAID autodetect and 2.4.1

=?iso-8859-1?Q?Jakob_=D8stergaard?= (jakob@unthought.net)
Sun, 4 Feb 2001 21:54:09 +0100


On Sun, Feb 04, 2001 at 12:28:30AM +0100, Jean-Eric Cuendet wrote:
>
> Hi,
> I have a server with RAID1 partitions with linux 2.4.1 (stock,
> self-compiled) installed.
> It was easy to create the RAID partitions but when booting, no
> auto-detection is successful.
> The kernel says that autodetect is running, then done, but nothing is
> auto-detected.
> My devices are IDE devices (hda + hdc) and all drivers are bult-ins (no
> initrd nor modules).
> After the boot, making a raidstart works like a charm...
> Any advice?
> Help welcomed.

---------------------------------------------
4.10 Autodetection

Autodetection allows the RAID devices to be automatically recognized by the kernel at boot-time, right after the ordinary partition detection is done.

This requires several things:
* You need autodetection support in the kernel. Check this
* You must have created the RAID devices using persistent-superblock
* The partition-types of the devices used in the RAID must be set to 0xFD (use fdisk and set the type to ``fd'')
---------------------------------------------

I guess you forgot to mark the partitions as type 0xfd. I have a similar box
here with 2.4.1 and autodetect works like a charm.

Cheers,

-- 
................................................................
:   jakob@unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/