public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RAID autodetect and 2.4.1
@ 2001-02-03 23:28 Jean-Eric Cuendet
  2001-02-03 23:39 ` Chris
  2001-02-04 20:54 ` Jakob Østergaard
  0 siblings, 2 replies; 3+ messages in thread
From: Jean-Eric Cuendet @ 2001-02-03 23:28 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org',
	'linux-raid@vger.rutgers.edu'


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.

Thanks
-jec

PS: I'm not in the list, so CC me please.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
Jean-Eric Cuendet
Linkvest SA
Av des Baumettes 19, 1020 Renens Switzerland
Tel +41 21 632 9043  Fax +41 21 632 9090
http://www.linkvest.com  E-mail: jean-eric.cuendet@linkvest.com
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 



-
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/

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

* RAID autodetect and 2.4.1
  2001-02-03 23:28 RAID autodetect and 2.4.1 Jean-Eric Cuendet
@ 2001-02-03 23:39 ` Chris
  2001-02-04 20:54 ` Jakob Østergaard
  1 sibling, 0 replies; 3+ messages in thread
From: Chris @ 2001-02-03 23:39 UTC (permalink / raw)
  To: Jean-Eric Cuendet; +Cc: linux-kernel

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

Sounds like you didn't set the partition type to be "FD" which is what
the raid autodetect looks for.  (Read the Software-RAID howto).  I
did the same thing yesterday. :)

-- 
Chris Bayly

Email:  Chris.Bayly@UAlberta.CA         | CNS, UNIX Support
                                        | 151 General Services Building
                                        | University of Alberta
Web:    http://www.ualberta.ca/~cbayly/ | Edmonton, Alberta 
                                        | Canada T6G 2S7
-
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/

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

* Re: RAID autodetect and 2.4.1
  2001-02-03 23:28 RAID autodetect and 2.4.1 Jean-Eric Cuendet
  2001-02-03 23:39 ` Chris
@ 2001-02-04 20:54 ` Jakob Østergaard
  1 sibling, 0 replies; 3+ messages in thread
From: Jakob Østergaard @ 2001-02-04 20:54 UTC (permalink / raw)
  To: Jean-Eric Cuendet
  Cc: 'linux-kernel@vger.kernel.org',
	'linux-raid@vger.rutgers.edu'

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.

>From http://unthought.net/Software-RAID.HOWTO/Software-RAID.HOWTO-4.html#ss4.10

---------------------------------------------
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/

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

end of thread, other threads:[~2001-02-04 20:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-03 23:28 RAID autodetect and 2.4.1 Jean-Eric Cuendet
2001-02-03 23:39 ` Chris
2001-02-04 20:54 ` Jakob Østergaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox