[Samba] durable file handles cross-node confusion

Weidong wei.dong at h3c.com
Wed Sep 21 07:58:34 UTC 2016

Hello to everyone

Durable file handles allow a connection to an SMB server to survive a short network outage. An ongoing IO will continue after the client reconnects to the same server (maybe a difference smbd process if the CTDB status is always health during the outage). When crossing nodes caused by virtual IP’s relocating, durable handles will not work apparently.

CA feature in SMB3 works fine with cluster, but it is not accomplished yet and it needs clients and servers support SMB3 simultaneously. Moreover, win7 do not support SMB3 protocol.

Another approach is sharing durable handles data between samba nodes (through CTDB or samba itself). This solution do not require client supporting SMB3 protocol and has good compatibility with win7/win8/win10. Has anyone been working on it? https://wiki.samba.org/index.php/Clustered_Samba#Clustered_Samba_Prototypes . This page mentions three projects which maybe relate to this approach, but they can not be opened.

Am I right about the descriptions above?

This wiki page mentions about “Durable handle cross-node”, but it just say “To be filled”. https://wiki.samba.org/index.php/Samba3/SMB2#durable_handles

Thanks for explanations.

This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!

More information about the samba mailing list