Discussion:
maximum number of raidframe devices
Brook Milligan
2014-09-21 14:31:01 UTC
Permalink
What limits the maximum number of raid devices that raidframe can configure?

I am trying to set up a system with >8 raid devices. However, I am getting the following:

# raidctl -C raid8.conf raid8
raidctl: Unable to open device file: raid8: Device not configured

The device files for partitions raid8a-raid8p all exist. For example:

brw-r----- 1 root operator 18, 128 Sep 15 15:50 /dev/raid8a

I cannot find anywhere in the code that sets a limit on the number of raid devices, but perhaps I am not looking in the right places or for the right things. I would appreciate guidance on this.

Thanks a lot.

Cheers,
Brook
Christos Zoulas
2014-09-21 19:36:50 UTC
Permalink
Post by Brook Milligan
What limits the maximum number of raid devices that raidframe can configure?
# raidctl -C raid8.conf raid8
raidctl: Unable to open device file: raid8: Device not configured
brw-r----- 1 root operator 18, 128 Sep 15 15:50 /dev/raid8a
I cannot find anywhere in the code that sets a limit on the number of
raid devices, but perhaps I am not looking in the right places or for
the right things. I would appreciate guidance on this.
Well, perhaps you are running an older NetBSD version where the number
of kernel devices were hard-coded in the kernel

change the kernel config line "pseudo-device raid 8" to a larger number.

christos

Loading...