NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: setting up raid5



Steven Bellovin wrote:

> I'm trying to set up a raid5 configuration across 3 disks.  It isn't =
> working right...
> 
> I used this as raid1.conf:
> 
> START array
> 1 3 0

You want

        START array
        1 2 1

there - 1 row with 2 disks and 1 spare disk.  The example for a
4 disk RAID5 is "1 3 1".

> START layout
> 512 1 1 5

I'm not 100% sure, but I think you're limited to 128 sectors per
stripe unit (64kB or MAXPHYS) here.  Maybe try the "32 1 1 5" as
per the example first, and bump higher when the rest is working.

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index