On Wednesday April 12, [EMAIL PROTECTED] wrote:
> I now have the md0 raid1 with 2 disks and 1 spare:
>        0      22       65        0      active sync   /dev/hdd1
>        1      22       66        1      active sync   /dev/hdd2
> 
>        2      22       67        2      spare   /dev/hdd3
> 
> # /usr/local/sbin/mdadm -G -n 3 /dev/md0
> mdadm: Cannot set raid-devices for /dev/md0: File exists
> 
> i'm using kernel 2.4.26

You'll need a 2.6 kernel for that, I don't remember which one is the
minimum.

If you are stuck with 2.4, you need to recreate the array:
 mdadm -S /dev/md0
 mdadm -C /dev/md0 -l1 -n3 --assume-clean /dev/hdd1 /dev/hdd2 missing
 mdadm /dev/md0 -a /dev/hdd3

(is that really 3 partitions on the one device?  Just for testing,
right?

NeilBrown

> 
> # /usr/local/sbin/mdadm -V
> mdadm - v2.4.1 -  4 April 2006
> 
> On 4/11/06, Shai <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have two SCSI disks on raid1.
> > Since I have lots of reads from that raid, I want to add two more
> > disks to this raid so that read will be faster.
> >
> > How should I add the new disks?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to