Gene Skonicki wrote:
> Hi, all. I've been having trouble on a system which uses autofs as one of
> its main services. There are times when we have over 150 shell users on one
> machine, and given the number of people lookign or using binaries in other
> people's home directories, I am running into a real problem. That is the
> 8-bit limit to the number of simultaneously mounted nfs (actually
>non-local-block-device) file systems.I
>
> I've traced the problem down in the kernel source, and it seems mainly to be
> due to the need to allocate a fresh minor number under NODEV_MAJOR for
> each nfs mount. Now, the question: does anyone know of a workaround/patch?
> I've considered hijacking another major number, but that doesn't really solve
> the problem completely, and it just screams klduge.
>
> I realize this isn't precisely on topic here, but I'm hoping someone
> else has faced this problem.
>
> Thanks in advance,
> Gene
I had a similar situation (don't ask ;) and worked around it by increasing the value of
NR_SUPER (default 64) in .../include/linux/fs.h and recompiling the kernel. Note
that this was on a 2.0.35 kernel. NR_SUPER is set to 256 on the 2.25 kernel (which
comes with redhat 6.0), so maybe just upgrading your kernel would be easier.
-john