SMB Corner cases RRS feed

  • Question

  • What will happened when sever or client disconnect when having oplock or Lease?

    Data will flush? will data consistency maintained? 

    Friday, April 21, 2017 10:58 AM

All replies

  • Hi Nikhil,

    Thank you for the questions on SMB.  We have received the questions and someone will be in contact from the Windows Open Specifications support team. 


    Nathan Manis

    Friday, April 21, 2017 1:30 PM
  • Hello Nikhil, I will be assisting you with your issue. I am currently researching the problem and will provide you with an update soon. Thank you for your patience.

    Sreekanth Nadendla
    Microsoft Windows Open specifications

    Friday, April 21, 2017 9:17 PM
  • Hello Nikhil,

    When a disconnect occurs, changes made to file contents on the client side will be lost if there is no way to reconnect to the SMB server.

    Data loss from changes made on the client side can be prevented for file handles of type Durable, Resilient or Persistent.

    MS-SMB2 section " Handling Loss of a Connection" describes the processing rules from the server side for such file handles.

    We have few test cases that cover the network disconnect scenarios in the File sharing specifications test suite.

    For further details, refer to Microsoft Protocol Test Suites

    Please let us know if you have further questions.

    Sreekanth Nadendla
    Microsoft Windows Open specifications

    Monday, April 24, 2017 8:56 PM