On Thu, Jun 03, 1999 at 02:19:22PM -0400, Paul B. Brown wrote:
>
> Hello all,
>
> Sorry for such a simple request but I can't seem to get mkraid to work.
> I want to mirror (RAID-1) two 4.2 GB SCSI drives (/dev/sda, /dev/sdb).
>
> Distribution: Redhat 5.2 (Linux 2.0.36)
> Software....: RAIDTools 0.50 BETA 10
>
standard answer to this is:
get a fresh kernel either from the kernel SRPMS or kernel.org
then get the latest raid patch and raidtools from
ftp://ftp.us.kernel.org/pub/linux/daemons/raid/alpha/
patch kernel
install raidtools
edit files /etc/rc.d/rc.sysinit and /etc/rc.d/init.d/halt and
remove any reference to the (now obsolete) raid tools.
> The Multiple Devices Driver Support is enabled in the kernel with all
> sub-options enabled as well (linear, RAID-0, RAID-1, RAID-4, and RAID-5).
>
> The two SCSI disks are laid out identically:
>
are you trying to upgrade from a single disk install to a raid,
this will not be that easy.
besides that root raid is even more painful since lilo cannot
load the kernel from an md device, you nedd a non mirrored /boot
partition, or you can try your luck with GRUB.
> This assumes that /dev/sda2 (swap) and /dev/sda3 (extended partition) do
> not need to be mirrored.
extended should not be mirrored
swap was unstable with old raid, it is stable now, so you can do it
I tested with kernel 2.2, not 2.0, (Ingo does it also work with 2.0??)
> mkraid /etc/raidtab
> mkraid -c /etc/raidtab
> mkraid
> mkraid -f
>
usually you do mkraid /dev/mdX
Regards,
Luca
--
Luca Berra -- [EMAIL PROTECTED]
Communications Media & Services S.r.l.