Michael McClure wrote:

I'm trying to get my raid partition to autodetect, but I can't seem to get it so. When I boot up the leaf, it definitely tries to autodetect raid devices, because I see the messages for "Autodetecting Raid Arrays....Autorun....Autorun Done," etc on the console, it just never finds anything. I've noticed that when I "fdisk /dev/hdc" and "l" the partition types, there is no type "fd" which I believe I need in order for raid to do the autodetect.

# fdisk /dev/hdc

The number of cylinders for this disk is set to 8374.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): l

0 Empty c Win95 FAT32 (LB 64 Novell Netware a6
<snip output>
Anybody have any ideas?  My kernal is:

# uname -a
Linux toaster 2.2.19-3-LEAF-RAID #2 Sat Dec 1 17:15:49 CST 2001 i386 unknown

Go ahead and use fdisk to set the RAID partitions to type 'fd'. Fdisk doesn't really care what the partition type is set to...it's just a byte at a particular place in the partition description. The list of partition types is simply a 'help file' for those who don't keep such arcane tidbits of knowledge committed permanently to memory.


Once you use fdisk to change the type to 'fd', fdisk will simply list the partition type as 'unknown', but it should correctly show you the partiton type is 'fd', and the kernel (which acutally *DOES* care about the partition type field) will properly auto-detect your RAID partitons.

--
Charles Steinkuehler
[EMAIL PROTECTED]


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to