Re: [ILUG] Software raid help needed

From: John P. Looney (valen at domain tuatha.org)
Date: Mon 09 Sep 2002 - 08:38:56 IST


On Sat, Sep 07, 2002 at 07:49:51AM +0100, Vincent Cunniffe mentioned:
> 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.

 You have to do:

 mkraid /dev/md0
 raidstart /dev/md0
 mke2fs /dev/md0
 mount /dev/md0 /somewhere

Kate
 



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