More than 255 raid devices
J D Freeman
info at contextshift.co.uk
Mon Sep 4 14:14:24 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Sep 04, 2006 at 01:10:14PM +1000, Neil Brown wrote:
> I'd much rather address the mail to you, and Cc the list. This idea
> of replying only to the list never made sense to me, but I guess
> everyone is different....
Ok, I shall do the same.
> No, there wouldn't be...
> The 256 is a hard codes limit in include/linux/raid/md_k.h
> #define MAX_MD_DEVS 256 /* Max number of md dev */
>
> It could safely be increased to about 8192 I think and probably made
> to go a little higher with a bit of care.
> But I'm afraid it will need a recompile of the kernel.
>
> I'll see about fixing this properly for 2.6.19.
being that in 2.6.* kernels the minor number is 20bits in length, is
there any reason an upper limit of 1048576 wouldn't work?
I look forward to the fix in 2.6.19.
Thanks
Julia
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFE/DS/42M0lILkmGIRApRTAJ9bMBvmsuPCa6ZW7JxaB/De7bsOQwCgxDXu
4kasgbZTXsC50nTe20vJVbc=
=Y4+r
-----END PGP SIGNATURE-----
More information about the pkg-mdadm-devel
mailing list