Skip to contentSkip to conversation

md has hard coded maximum number of drives?

DISCUSSION Gregory Stark 1 participant 1 message Nov 4, 2008 MD RAID

lore
Share & tools
lore
#0 lore raw
# 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?!

Signature · 1 line
greg