Darron Froese wrote:
On Sat, 8 Jul 2000, Bill Jackson wrote:> I am trying to use mkraid to setup a software raid array. I have 3 * 4G
> drives with a two partitions each. the first partition is a 64 byte
> block for an Apple Partition Map, the rest is a unix partition. I have
> setup the /etc/raidtab that is attached and when I try mkraid /dev/md0,
> it sees each of the disks/partitions it should be seeing, then aborts
> and tells me to look in syslog and /proc/mdstat for potential clues. I
> have attached my raidtab file and my proc/mdstat file and hope someone
> can point me in the right direction.Bill,
It looks like you're using linux on a Macintosh (YellowDogLinux or
LinuxPPC) and if so, you have to make sure that your raidtools are in sync
with the version of RAID that's in your kernel.I had *tons* of problems setting up a RAID on my YDL box the first time
because they were not synched. The userspace RAID tools were for the new
improved RAID code while the kernel was compiled with the old RAID code.
For whatever reason the raid creation would fail and I would be told to
check syslog and mdstat for clues but none could be found.Take a look at your dmesg (or look at your /var/log/messages at the time
of your last reboot) to see if you can see a line that looks like
this:kernel: md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
If it says that, then you're running the new improved RAID 0.90 code - if
it doesn't say that then you're running the older RAID code.To get the new RAID code installed you'll have to download the 2.2.16
kernel source and patch it with mingo's RAID patches - they're located
here:<http://people.redhat.com/mingo/raid-patches/>
Let me know if you need any help or more info.
--
Darron
[EMAIL PROTECTED]
-- UNIX *is* user friendly. It is just very picky about who it's friends are.
