# md has hard coded maximum number of drives?

- From: Gregory Stark \<hidden\>
- Date: 2008-11-04 20:26:03 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2008/11/6604059
- Thread: https://ratatoskr.run/linux-raid/2008/11/6604059/t.md

```text

# mdadm --create /dev/md0 --level 0 --raid-devices 60 `cat drives`
mdadm: invalid number of raid devices: 60

# mdadm --create /dev/md0 --level 0 --raid-devices 32 `cat drives`
mdadm: invalid number of raid devices: 32

# mdadm --create /dev/md0 --level 0 --raid-devices 33 `cat drives`
mdadm: invalid number of raid devices: 33



Firstly, "invalid number" is a terrible error message. 60 is a perfectly good
number. The error message gives no indication of why it doesn't find 60 to be
a "valid" number.


Secondly there's no mention in any documentation for mdadm or anywhere else
that I can find of any arbitrary maximum number of drives.


Thirdly, WTF?!


-- 
greg
```
