CIFS VFS: BAD_NETWORK_NAME
Issue
-
Windows
SMB
share mounted on Linux servers getting disconnected once in a while. -
Brief introduction of the environment is as following:
Few LINUX servers which has CIFS shares mounted from Windows file share (support SMB 3 only) and shares on Linux clients are mounted with following option in fstab file.
//servername/folder /localfolder cifs credentials=/login.txt,x-systemd.automount,x-systemd.device-timeout=5,_netdev,noserverino,noperm,sec=ntlmssp,vers=3.0 0 0
- The above share gets disconnected and automatically unmounted once in a while from the Linux servers. Upon checking the messages logs and following errors are logged:
kernel: CIFS VFS: BAD_NETWORK_NAME: \\servername\folder
-
To fix this manually unmounting and mounting needs to be done.
-
Backup jobs are shared in a CIFS share which got disconnected from RHEL server.
Environment
- Red Hat Enterprise Linux 7.2
- SMB3
- Windows Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.