For an experiment purposes, I need as many disks in a single system as possible. Since I have only six spare disks, I decided to partition them to 128 GPT partitions and create RAID0 array of one device using each partition.
The problem is that mdadm had created only 512 arrays /dev/md[0-511] and I cannot create any additional arrays.
After an attempt to create 513th array I get an error:
% mdadm -C /dev/md512 -l raid0 -n 1 /dev/sdd128 --force
mdadm: unexpected failure opening /dev/md512
Is it a designed limitation? Is there any way to bypass it?