[Beowulf] automount on high ports

Krugger merc4krugger at gmail.com
Tue Jul 1 09:27:44 EDT 2008


Hi,

Am I understanding it correctly? You want to have more than 360 mounts
in a single NFS client? And you want that client to be run on a
non-privileged port?

What you are doing doesn't make much sense to me, but you can try
adding the option "lockd.udpport=32768 lockd.tcpport=32768" to your
kernel flags so that the kernel puts the daemon lockd that handles NFS
locks at the port you selected in the client side. I don't understand
how changing the port will help you get more mounts in. I would
actually suggest you review the maximum allowed filehandles for each
process.

You will also need and start services manually, something like:
statd -p 32765 -o 32766
mountd -p 32767

If you use modules you need to reconfigure you modules with "options
lockd nlm_udpport=32768 nlm_tcpport=32768" to your /etc/modules.conf

If I am misunderstanding and you are having a maximum of 360 clients
for your NFS server, then maybe you are having a network problem,
because with NFS3 your clients will lose connection to the server when
de UDP starts losing packets due to heavy I/O from the calculations if
both happen on the same network. Maybe NFS v4 might help with TCP
connections or/and some sort of shaping to make sure there is enough
bandwith reservered for NFS to operate properly.

Notice that all have differant ports 32765,32766,32767,32768

Krugger


On Tue, Jul 1, 2008 at 10:36 AM, Henning Fehrmann
<henning.fehrmann at aei.mpg.de> wrote:
> Hello,
>
> we need to automount NFS directories on high ports to increase the number of possible mounts.
> Currently, we are limited up to ca 360 mounts.
>
> The NFS-server exports with the option 'insecure' but the mounts still end up on ports <1024 on the client side.
>
> Is there a way to enable automounts on higher ports? How can it be done manually:
> mount -t nfs -o ....?
>
> We are using autofs version 5.
>
> Thank you,
> Henning
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
>
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Beowulf mailing list