Reply To: Resumption of CIFS connection after suspend

Forum › Forums › General › Software › Resumption of CIFS connection after suspend › Reply To: Resumption of CIFS connection after suspend

#187260
fanantix
Member

    Thanks, abc-nix. I was unable to get the remount option to force an near-immediate reconnect on the CIFS share; as you suggested, I reduced the echo_interval (from 60 seconds, apparently) to 10 seconds so that dmesg now reports:

    CIFS VFS: Server [x.x.x.x] has not responded in 30 seconds. Reconnecting...

    This delay and the additional network consumption is bearable. The share mount script now contains:

    sudo mount -t cifs //[x.x.x.x]/Users/ /media/xxx/xxxx -o username=xxx,password=,gid=1000,uid=1000,echo_interval=10

    Thanks again.

    • This reply was modified 11 months, 3 weeks ago by fanantix.