Home > OS >  How to modify the configuration to reduce the cifs mount reconnection 120 seconds
How to modify the configuration to reduce the cifs mount reconnection 120 seconds

Time:09-24

I use the mount cifs a samba directory, but the client because a program can lead to a LAN driver exiting broken network.
So the cifs need reconnection, 120 seconds after reconnection,

Dmesg tip:
VFS cifs server from the responded in 120 seconds. Reconnecting...

Have a great god knows where this 120 seconds can be modified? I want to reduced to 20 seconds.

CodePudding user response:

Did experiments, if is the mount cifs process, the cable is broken, pull back then, about 10 to 20 is back to normal, won't appear 120 reconnecting tips.
So there is no a cifs should timeout Settings, because the default is auto mount.

In my case, is missing, look without waiting for 120 seconds.
  • Related