Parece que resolvi esse problema usando o AutoFS para montar o compartilhamento em vez de fstab. Depois de fazer a alteração, não encontramos o problema originalmente relatado. Alguns dias depois que fizemos a alteração, recebi uma resposta da Microsoft afirmando que esse é um problema conhecido (c / p da mensagem abaixo). A sugestão do AutoFS ou da Microsoft deve ser uma solução viável para esse problema.
Our engineers have provided the following feedback for you:
This error occurs with the Linux driver re-connects to a share when the client has been idle for an extended period of time. It disconnects and the client connection times out.
•Client is idle for an extended period of time. The Linux client sends ECHO commands periodically to keep the connection alive. •The TCP connection gets disconnected for some reason (e.g. node goes for software roll out). •The Linux client makes a new TCP connection to port 445 but sends nothing on that connection.
•After 60 seconds of idle time, SLB drops the TCP connection. •After some time, the Linux app tries to access a file and Linux sends NEGOTIATE packet which is black-holed by SLB. •The Linux client waits for 15 minutes for the TCP timeout.Until we get a fix for this from the Linux developers the suggested workaround is to periodically access the share.
Workaround: Keep a file in the Azure File share that you write to periodically to sustain the connection and avoid getting into an idle state. This has to be write operation such as, rewriting the created/modified date on the file, otherwise you might get cached results and your operation might not trigger the connection.