[Gluster-devel] NLMv4 isn't available over UDP
Sponge Tsui
jingjinglake at gmail.com
Thu Jan 7 07:55:31 UTC 2016
------------------------------------------------------------
---------------------------------
Thanks very much.
Yeah, I learn that "NFS over UDP/IP is much more prone to data corruption
than over TCP/IP" from Eisler's nfs blog at "
http://nfsworld.blogspot.kr/2006_03_01_archive.html"
But, there is still a issue that glusterfs supports NLMv1 over UDP already,
which seems opposite that NLM over UDP hasn't implemented. The following
shows some details:
#rpcinfo -p | grep 100021
100021 4 tcp 38468 nlockmgr
100021 1 udp 745 nlockmgr
100021 1 tcp 746 nlockmgr
I was a bit confused.
---------------------------------------------------------------------------------------------
2016-01-07 14:28 GMT+08:00 Kaushal M <kshlmster at gmail.com>:
> On Thu, Jan 7, 2016 at 11:00 AM, Sponge Tsui <jingjinglake at gmail.com>
> wrote:
> > hi, I'm sorry to ask for help if it is a common question. I noticed
> > that in glusterfs NLMv4 is only available over TCP,but not available
> > over UDP as the show of "rpcinfo -p" when using glusterfs to export
> > volumes through NFS protocol. The result is as follow:
> >
> > program vers proto port service
> > 100000 4 tcp 111 portmapper
> > 100000 3 tcp 111 portmapper
> > 100000 2 tcp 111 portmapper
> > 100000 4 udp 111 portmapper
> > 100000 3 udp 111 portmapper
> > 100000 2 udp 111 portmapper
> > 100005 3 tcp 38465 mountd
> > 100005 1 tcp 38466 mountd
> > 100003 3 tcp 2049 nfs
> > 100021 4 tcp 38468 nlockmgr
> > 100227 3 tcp 2049
> > 100021 1 udp 868 nlockmgr
> > 100021 1 tcp 869 nlockmgr
> > 100024 1 udp 34507 status
> > 100024 1 tcp 40511 status
> >
> > I want to find out that why NLMv4 wasn't supported over UDP while
> > NLMv4 has been supported over TCP already. Whether or not NLMv4 over
> > UDP would be took into account.
> >
> > Please excuse me if I've used bad terminology. Maybe it's because of
> > some other issues that i didn't realize. To be honest, I'm a newcomer
> > for glusterfs less than a mouth.
> >
> > Thanks for your attention. I'm looking forward to your reply, and any
> > answers will be appreciated !
>
> The GlusterFS NFS service only supports the NFSv3 protocol over TCP.
> So the NLM service was also implemented only over TCP.
> As for the reason why only TCP support was implemented for NFS, it was
> probably because NFSv3 over TCP provided support for most clients,
> with the least amount of implementation effort.
>
> >
> >
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at gluster.org
> > http://www.gluster.org/mailman/listinfo/gluster-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160107/5851ac30/attachment.html>
More information about the Gluster-devel
mailing list