RE: Scalability of MD raid 1 mirror devices

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

 



Neil Brown <neilb@xxxxxxx> writes:
>> So if the minor number is more than 511, the “fd” is assigned to -1,
>> if it is in the range of 0 to 511 It is working fine.
>
> Hmmm... you are right.
> Probably due to this:
>
> 	blk_register_region(MKDEV(MD_MAJOR, 0), 512, THIS_MODULE,
> 			    md_probe, NULL, NULL);
>
> Try changing the "512" to "1<<MINORBITS".

Actually don't change that.  That is deliberate.

add "CREATE named=yes" to /etc/mdadm.conf, then create arrays
with names like
  /dev/md/whatever-you-like

and you can create as many as you like.

The arrays are create by effectively doing

  echo md_whatever-you-like > /sys/module/md_mod/parameters/new_array

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux