CIFS VFS: BAD_NETWORK_NAME
Issue
-
Windows
SMBshare 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
