SOFS: Event ID 30818 with SMB Direct for RDMA (KB 3052127)

SOFS: Event ID 30818 with SMB Direct for RDMA (KB 3052127)

No Comments on SOFS: Event ID 30818 with SMB Direct for RDMA (KB 3052127)

One of my customers had an issue after implementing a Scale-Out File Server Cluster:

Issue:

They are running Windows Server 2012 R2 Systems, which are connected using InfiniBand. The Adapters are using SMB Direct between SOFS Node and Hyper-V Host to establish a Remote Direct Memory Access (RDMA) connection. If you restart a Hyper-V Host you will see Event ID 30818 logged:

Source: SMBClient
Event ID: 30818
Level: Warning
General: RDMA interfaces are available but the client failed to connect to the server over RDMA transport.
Server name: ServerName
Guidance:
Both client and server have RDMA (SMB Direct) adaptors but there was a problem with the connection and the client had to fall back to using TCP/IP SMB (non-RDMA).

You can see, the connection falls back top TCP/IP SMB and you can see this in decreasing Performance…

Cause:

In Windows Server 2012 R2 the SMB Direct Interface is started automatically by LanmanServer service. If this service starts and tries to open a RDMA connection, before SMB Direct could be loaded, the event is logged. The first connection is established via TCP/IP SMB. All new client connections are established using RDMA.

Solution:

My customer and the hardware vendor did not stop working on this issue (at this point my praise and respect – all in all it took 4 months), and now the solution could be found…its just a registry key:

Open Registry Editor, and then locate to the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\smbdirect

Right-click the Start registry entry, and then click Modify.
In the Value data box, change the value (by default, it is 3 as on-demand) to 2 (automatic).

This solution is now available for everyone in KB 3052127

So enjoy RDMA…

About the author:

Ich bin Eric Berg und bin Senior IT-Consultant für Microsoft Solutions und hauptsächlich im Bereich Virtualisierung, Client-Lifecycle Management, Private und Public Cloud aktiv. Seit 2015 bin ich System Center Cloud und Datacenter MVP. Seit 2014 bin ich Microsoft Partner Technical Solutions Professional (P-TSP) und agiere im Auftrag von Microsoft mit Kunden rund um die oben beschriebenen Themen. Alle Gedanken, Meinungen und Ideen auf dieser Website sind von mir und spiegeln nicht die Haltung meines Arbeitgebers oder von Microsoft wieder.

Related Posts

Leave a comment

Back to Top