Michael McClure wrote:
Charles Steinkuehler wrote:
I wondered about the kernal in the uname -a, but when I d/l'd the kernal from your website, it was called, linux-2.2.19-3-LEAF-RAID-IDE.zImage.upx. Yet, my uname -a doesn't include IDE.Michael McClure wrote:
Thanks for the reply. Should I be using a different version/release that would work better for RAID? If so, pls let me know. As far as your info requests, see below.
thanks.
mike.
# lsmod Module Pages Used by 3c59x 19984 1 pci-scan 2296 0 [3c59x] raid5 17664 0 (unused) raid1 7916 0 (unused) raid0 2768 0 (unused) ntfs 39868 0 (unused) smbfs 26744 0 (unused) nfsd 181896 0 (unused) nfs 71452 0 (unused) lockd 44392 0 [nfsd nfs] sunrpc 60676 0 [nfsd nfs lockd] ext2 40548 0 (unused)
toaster: -root- # cat /proc/mdstat Personalities : [raid0] [raid1] [raid5] read_ahead not set unused devices: <none>
OK, so RAID support is in the kernel and you've got the required modules loaded. What about your IDE drive? IIRC, you arn't using one of the kernels with IDE built-in, and it doesn't look like you're loading any IDE modules based on the above.
Can you access the low-level /dev/hdX devices that make up your RAID?
What does "fdisk -l /dev/hdc" and "fdisk -l /dev/hdd" show?
Are you *REALLY* trying to build a RAID5 device with two partitions on the same drive (/dev/hdd1 & /dev/hdd2 in your example raidtab, which go along with /dev/hdc1)? If so, I'm not sure that will work, and it wouldn't be recommended in any case...
# fdisk -l /dev/hdc
Disk /dev/hdc: 16 heads, 63 sectors, 8374 cylinders Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System /dev/hdc1 1 6242 3145936+ 83 Linux native
toaster: -root- # fdisk -l /dev/hdd
Disk /dev/hdd: 255 heads, 63 sectors, 977 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/hdd1 1 392 3148708+ 83 Linux native /dev/hdd2 393 784 3148740 83 Linux native
As far as my raid5 device, I just want to make sure I can get the raid5 working before I buy a 3rd drive. My test set is 1 4gb drive (hdc) and an 8gb drive (hdb). I created 3 partitions each +3072M on the two devices and am trying to build the raid5 test. I also tried to do this with just doing raid1 on /dev/hdc1 and /dev/hdd1 and got the same error on the same command.
OK, you've got raid support in the kernel, and IDE support is working.
There's not a lot else that needs to be there for RAID to work. Did you remember to make the raid devices (ie: does /dev/md0 exist)?
<excerpt http://lrp.steinkuehler.net/Documentation/LRPHardDiskHOWTO.txt> Check to make sure the /dev directory contains all the devices you need for your hardware. You may also need to update /var/lib/lrpkg/root.dev.mk to create additional device nodes. I added the following lines on my system to support the newly added RAID functionality:
# RAID Devices makedevs md b 9 0 0 15 >null 2>&1 </excerpt>
-- Charles Steinkuehler [EMAIL PROTECTED]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
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