Following up to 2 seperate posts,
1. Red Hat 6 DOES come with a kernel patched for RAID. It DOES support
RAID autostart. In addition, it includes older script files for bringing
up older RAID devices (you need to have the older raidtools package
installed from a previous installation).
2. Although you can certainly recompile your kernel with RAID support
built-in, the 'Red Hat way' would be to create a new initial ram disk
that includes the raid0 module. The command to create the ram disk would
be:
mkinitrd -v --with=raid0 /boot/initrd-2.2.5-15raid 2.2.5-15
This has mkinitrd build a ram disk verbosely (so you can see any
errors), including the raid0 module even if the system doesn't think
that it needs it, and name it initrd-2.2.5-15raid in the /boot
directory. It does all of this using the modules that it finds in the
/lib/modules/2.2.5-15 directory.
After this, edit your /etc/lilo.conf file so that it loads the new ram
disk, and the re-run lilo.
Hope this helps you out.
Craig Zody
Osma Ahvenlampi wrote:
>
> "Robert McPeak" <[EMAIL PROTECTED]> writes:
> > I just installed RedHat 6.0, which appears to have the 0.90 version of the
> > raidtools installed by default. My boot disk is separate from the RAID. I
> > created a RAID0 spanning two 9gb drives, and it works fine, as long as I
> > manually go in and to a raidstart and a mount after booting. During the init
> > scripts, it does try to start and mount the RAID, but fails. How do I get
> > this partition to autostart and mount? Thanks!
>
> Unless Red Hat have applied special patches to their distribution
> kernel, RH 6.0 does not support RAID autostart. You should install the
> latest RAID patches from
> <ftp://ftp.kernel.org/pub/linux/daemons/raid/alpha>. Upgrade your
> raidtools as well, Red Hat neglected to mention the exact version
> number of the tools they provided.
>
> RH's initscript hacks can be safely ignored, the latest code handles
> RAID start/stop automatically inside the kernel process.
>
> --
> Osma Ahvenlampi
>
> hm, this is the problem, it tries to load the RAID personality module but
> cannot find it, because the root fs is not yet mounted. But
> 'md-personality-2' is strange as well, it should be 'md-personality-0' for
> RAID0, there is no personality-2 ...
>
> when you run it manually:
>
> > raid0 personality registered
>
> then it correctly registers raid0. You'll definitely get rid of these
> problems if you compile RAID into the kernel (this is only a workaround),
> but these things supposed to work. I'm not sure yet whats going on.
>
> -- mingo