> From: Chris Garrigues <[EMAIL PROTECTED]>
> Date: Wed, 15 Sep 1999 16:00:39 -0500
>
> --==_Exmh_1625741955P
> Content-Type: text/plain; charset=us-ascii
>
> > From: "Theron J. Lewis" <[EMAIL PROTECTED]>
> > Date: Wed, 15 Sep 1999 13:37:13 -0700 (PDT)
> >
> > If I'm not mistaken, the 2.2.5-22 and 2.2.5smp-22 kernels from redhat
> > (which are definitely RPM'd) have the patches for hardware and software
> > raid already rolled together, and there is a raidtools that matches it
> > that you can install.
> >
> > The 2.2.5 kernel release 22 is part of the redhat updates.
> >
> > If you want a newer kernel, you might look on www.rpmfind.org, but chance
> s
> > are you will have to roll your own.
>
>
> Oh...what's the easiest way to tell if a running kernel has raid support
> already in it?
Assuming that the presence of /proc/mdstat tells me that raid support is in
the kernel, I went forward with the 2.2.9-27mdk kernel that I was already
using.
# cat /proc/mdstat
Personalities : [3 raid1]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
(I previously did a 'modprobe raid1'. Doing so made the personality appear.)
I created an /etc/raidtab that looks like this:
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/sda8
raid-disk 0
device /dev/sdb8
raid-disk 1
but, when I do 'mkraid /dev/md0', I get this:
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sda8, 16217586kB, raid superblock at 16217472kB
disk 1: /dev/sdb8, 16217586kB, raid superblock at 16217472kB
mkraid: aborted
and nothing changes.
So, am I misunderstanding how to tell if the kernel supports RAID or am I
doing something really stupid?
Chris
--
Chris Garrigues virCIO
http://www.DeepEddy.Com/~cwg/ http://www.virCIO.Com
+1 512 432 4046 +1 512 374 0500
4314 Avenue C
O- Austin, TX 78751-3709
My email address is an experiment in SPAM elimination. For an
explanation of what we're doing, see http://www.DeepEddy.Com/tms.html
Nobody ever got fired for buying Microsoft,
but they could get fired for relying on Microsoft.
PGP signature