NetBSD-Users archive

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

Re: setting up raid5



On May 31, 2010, at 10:11 32AM, Manuel Bouyer wrote:

> On Mon, May 31, 2010 at 10:06:39AM -0400, Steven Bellovin wrote:
>>>> 
>>>> 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.
>>> 
>>> Yes, this is likely the problem. raidframe will schedule a transfer
>>> larger than MAXPHYS, and the underlying driver will bail out.
>> 
>> Thanks, I'll try that, though it leaves unanswered why the first two
>> drives had no problem -- I was even able to create a file system on
>> them.
> 
> I can immagine it blows up when trying to write the first full
> parity stripe. Once the drive is failed it doens't try to do it again with
> other drives.
> 

OK.

It's running now with 64 sectors/stripe, and seems much happier.  Thanks.
(It's probably worth a documentation fix to the man page to mention that
limit, and to the code to check.  I'll also send-pr for documentation changes
to gpt and dkctl to make them *much* clearer in a few crucial spots.)


                --Steve Bellovin, http://www.cs.columbia.edu/~smb







Home | Main Index | Thread Index | Old Index