Re: [ILUG] Software raid help needed

From: Vincent Cunniffe (vincent at domain diva.ie)
Date: Sat 07 Sep 2002 - 07:49:57 IST


Satelle, StevenX wrote:
> I'm having a problem using software raid to mirror 2 drives on my computer.
> The machine in question is running debian-3.0r0 with kernel 2.2.20. I
> created a partition on 2 separate drives of the type raid autodetect and
> using raidtools 0.42-33 created a mirrored partition by running mkraid
> /etc/raid/raid1.conf (see below) it completed successfully but when I try to
> run mdadd /dev/md0 /dev/hda2 /dev/hdb3 I'm told /dev/md0: no such device.
> I've read through all the docs I could find but cant see why I'm getting
> that error (/dev/md0 does exist) Does anyone have any idea's?

As far as I know you don't need to run mdadd, that's done automatically
through the config.

Jusr run 'mkraid /dev/md0' to create the RAID device, and then you
should be able to put a filesystem on it and mount the result.

Full details in :

        http://www.tldp.org/HOWTO/Software-RAID-HOWTO-4.html#ss4.1

Regards,

Vin



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:43 GMT