[linux-cifs-client] Linuc cifs over UDP

Steve French smfrench at gmail.com
Thu Mar 4 07:22:36 MST 2010


On Thu, Mar 4, 2010 at 7:53 AM, Jaspal wrote:

>  Hello,
>
> Is it possible to mount netapp cifs share over UDP?
>
>
No. The SMB/CIFS protocol requires a reliable transport with guaranteed
delivery (e.g. TCP rather than UDP).  Interestingly even with NFS which can
run over UDP (because NFS uses an intermediate layer, SunRPC, which
guarantes delivery, a layer which CIFS does not have or need) - NFS can lose
data over UDP over 100Mb and faster networks.

I am not aware of any SMB/CIFS client being able to mount over transport
protocols other than the following:
1) By far the most common: TCP/IP (RFC1001 specifies the 4 byte header with
simple frame length field used when over TCP/IP)
2) Netbios frames protocol (the original default used many, many years ago)
3) IPX/SPX

In theory, CIFS kernel library could be modified to use any kernel tcp-like
socket based interface (e.g. it was easy to experiment and show that cifs
could use SCTP, since SCTP can export an emulated socket interface), but
using UDP would require a way (intermediate layer) to guarantee delivery and
retry.

-- 
Thanks,

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/linux-cifs-client/attachments/20100304/41cbbb80/attachment.html>


More information about the linux-cifs-client mailing list